This commit is contained in:
Timothy J. Baek 2024-04-14 19:56:33 -04:00
parent b1b72441bb
commit 741ed5dc4c
2 changed files with 6 additions and 1 deletions

View file

@ -495,6 +495,7 @@ def store_docs_in_vector_db(docs, collection_name, overwrite: bool = False) -> b
ids=[str(uuid.uuid1()) for _ in texts],
metadatas=metadatas,
embeddings=embeddings,
documents=texts,
):
collection.add(*batch)