Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ def document_loading_splitting():
|
|
89 |
def document_storage_chroma(splits):
|
90 |
Chroma.from_documents(documents = splits,
|
91 |
embedding = OpenAIEmbeddings(disallowed_special = ()),
|
92 |
-
persist_directory = CHROMA_DIR)
|
93 |
|
94 |
def document_storage_mongodb(splits):
|
95 |
MongoDBAtlasVectorSearch.from_documents(documents = splits,
|
|
|
89 |
def document_storage_chroma(splits):
|
90 |
Chroma.from_documents(documents = splits,
|
91 |
embedding = OpenAIEmbeddings(disallowed_special = ()),
|
92 |
+
persist_directory = PATH_WORK + CHROMA_DIR)
|
93 |
|
94 |
def document_storage_mongodb(splits):
|
95 |
MongoDBAtlasVectorSearch.from_documents(documents = splits,
|