Commit
·
2582aa9
1
Parent(s):
59a15ba
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def create_vector_database(loaded_documents):
|
|
130 |
# Create and persist a Chroma vector database from the chunked documents
|
131 |
db = Chroma.from_documents(
|
132 |
documents=chunked_documents,
|
133 |
-
|
134 |
persist_directory=persist_directory
|
135 |
# persist_directory=DB_DIR,
|
136 |
)
|
|
|
130 |
# Create and persist a Chroma vector database from the chunked documents
|
131 |
db = Chroma.from_documents(
|
132 |
documents=chunked_documents,
|
133 |
+
embedding=embeddings,
|
134 |
persist_directory=persist_directory
|
135 |
# persist_directory=DB_DIR,
|
136 |
)
|