FastChat icon indicating copy to clipboard operation
FastChat copied to clipboard

Where to add embedding function?

Open hypily123 opened this issue 2 years ago • 2 comments

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.

hypily123 avatar Jul 20 '23 05:07 hypily123

i have the same question,vector store need embedding model,but INFO: 192.168.9.56:38954 - "POST /v1/embeddings HTTP/1.1" 400 Bad Request

ye7love7 avatar Aug 02 '23 06:08 ye7love7

I encountered the same problem when I got the embedding of the text. How did you solve it?

nuocheng avatar Jul 13 '24 09:07 nuocheng