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
trafficstars

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