nnngoc commited on
Commit
a56b1f4
1 Parent(s): 66bb03b
Files changed (2) hide show
  1. rag.py +2 -1
  2. requirements.txt +2 -1
rag.py CHANGED
@@ -1,4 +1,5 @@
1
- from langchain.embeddings import HuggingFaceEmbeddings
 
2
  from langchain.prompts import PromptTemplate
3
  from utility import load_data, process_data, CustomRetriever, CustomRetriever1
4
 
 
1
+ # from langchain.embeddings import HuggingFaceEmbeddings
2
+ from langchain_community.embeddings import HuggingFaceEmbeddings
3
  from langchain.prompts import PromptTemplate
4
  from utility import load_data, process_data, CustomRetriever, CustomRetriever1
5
 
requirements.txt CHANGED
@@ -8,4 +8,5 @@ tiktoken
8
  langchain_openai
9
  rank_bm25
10
  langchain_experimental
11
- langchain-cohere
 
 
8
  langchain_openai
9
  rank_bm25
10
  langchain_experimental
11
+ langchain-cohere
12
+ openpyxl