update
Browse files- rag.py +2 -1
- 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
|