allinaigc commited on
Commit
5336cd7
1 Parent(s): e418d71

Upload 2 files

Browse files
Files changed (2) hide show
  1. rag_reponse_002.py +1 -0
  2. requirements.txt +1 -0
rag_reponse_002.py CHANGED
@@ -4,6 +4,7 @@
4
  """
5
  ##TODO: 1. 将LLM改成ChatGPT. 2. Reranker. 3. 最后给出相似查询的页面结构
6
 
 
7
  from langchain_community.vectorstores import FAISS
8
  from langchain.embeddings.huggingface import HuggingFaceEmbeddings
9
  from langchain_core.output_parsers import StrOutputParser
 
4
  """
5
  ##TODO: 1. 将LLM改成ChatGPT. 2. Reranker. 3. 最后给出相似查询的页面结构
6
 
7
+ import sentence_transformers
8
  from langchain_community.vectorstores import FAISS
9
  from langchain.embeddings.huggingface import HuggingFaceEmbeddings
10
  from langchain_core.output_parsers import StrOutputParser
requirements.txt CHANGED
@@ -18,3 +18,4 @@ rich==13.7.1
18
  streamlit==1.33.0
19
  streamlit_authenticator==0.2.3
20
  tqdm==4.66.2
 
 
18
  streamlit==1.33.0
19
  streamlit_authenticator==0.2.3
20
  tqdm==4.66.2
21
+ sentence_transformers