Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-
|
|
| 23 |
vector_store = Chroma(
|
| 24 |
collection_name="chat_collection", # Specify the collection name
|
| 25 |
embedding_function=embeddings,
|
| 26 |
-
persist_directory="
|
| 27 |
)
|
| 28 |
|
| 29 |
# ✅ Step 1: Helper Functions for Chat Memory
|
|
|
|
| 23 |
vector_store = Chroma(
|
| 24 |
collection_name="chat_collection", # Specify the collection name
|
| 25 |
embedding_function=embeddings,
|
| 26 |
+
persist_directory="/tmp/chroma_db", # Directory to store data locally
|
| 27 |
)
|
| 28 |
|
| 29 |
# ✅ Step 1: Helper Functions for Chat Memory
|