lm-sys / lm-sys/FastChat

Where to add embedding function?

Open
#2,024 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

Hi, I am trying to add embedding function. To achieve it, I have read docs/langchain_integration.md, docs/openai_api.md, tests/test_openai_langchain.py. I am not familiar with web deployment so I am a little lost. I hope there are someone can answer my questions.

1. Where should I add embedding related codes(loader and embedding model)?
2. Where is the user input from gradio webpage?

Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read docs/langchain_integration.md, docs/openai_api.md, and tests/test_openai_langchain.py first. Trace the Gradio webpage input from the existing tests or documented integration, then identify the intended location for the embedding loader and model; done means the project documents or implements a clear integration path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.