Spaces:
Running
Running
Vinh Nguyen
commited on
Commit
•
2b35025
1
Parent(s):
33f2129
Update document_retriever.py
Browse files- document_retriever.py +1 -1
document_retriever.py
CHANGED
@@ -9,7 +9,7 @@ from langchain_community.embeddings import HuggingFaceEmbeddings
|
|
9 |
from langchain_community.vectorstores import DocArrayInMemorySearch
|
10 |
from langchain_text_splitters import RecursiveCharacterTextSplitter
|
11 |
|
12 |
-
EMBEDDING_MODEL = "all-MiniLM-L6-v2"
|
13 |
|
14 |
|
15 |
@st.cache_resource(ttl="1h")
|
|
|
9 |
from langchain_community.vectorstores import DocArrayInMemorySearch
|
10 |
from langchain_text_splitters import RecursiveCharacterTextSplitter
|
11 |
|
12 |
+
EMBEDDING_MODEL = "sentence-transformers/all-MiniLM-L6-v2"
|
13 |
|
14 |
|
15 |
@st.cache_resource(ttl="1h")
|