change file
Browse files- api_service.py +1 -1
api_service.py
CHANGED
|
@@ -50,7 +50,7 @@ async def lifespan(app: FastAPI):
|
|
| 50 |
)
|
| 51 |
client = chromadb.PersistentClient(path=VECTOR_DB_DIR)
|
| 52 |
vectorstore = Chroma(
|
| 53 |
-
|
| 54 |
collection_name=COLLECTION_NAME,
|
| 55 |
embedding_function=embeddings
|
| 56 |
)
|
|
|
|
| 50 |
)
|
| 51 |
client = chromadb.PersistentClient(path=VECTOR_DB_DIR)
|
| 52 |
vectorstore = Chroma(
|
| 53 |
+
persist_directory=VECTOR_DB_DIR,
|
| 54 |
collection_name=COLLECTION_NAME,
|
| 55 |
embedding_function=embeddings
|
| 56 |
)
|