alexkueck commited on
Commit
9cbacb5
1 Parent(s): b335f8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,