Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ embedding_model = HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2")
|
|
14 |
# embeddings = embedding_model.encode(docs)
|
15 |
|
16 |
|
17 |
-
from
|
18 |
persist_directory = 'docs/chroma/'
|
19 |
vectordb = Chroma.from_documents(
|
20 |
documents=docs,
|
|
|
14 |
# embeddings = embedding_model.encode(docs)
|
15 |
|
16 |
|
17 |
+
from langchain_community.vectorstores import Chroma
|
18 |
persist_directory = 'docs/chroma/'
|
19 |
vectordb = Chroma.from_documents(
|
20 |
documents=docs,
|