This commit is contained in:
Timothy J. Baek 2024-10-04 00:24:51 -07:00
parent 17c772831d
commit 630a78cead

View File

@ -710,12 +710,6 @@ def save_docs_to_vector_db(
for idx, text in enumerate(texts) for idx, text in enumerate(texts)
] ]
if file_id:
VECTOR_DB_CLIENT.insert(
collection_name=f"file-{file_id}",
items=items,
)
VECTOR_DB_CLIENT.insert( VECTOR_DB_CLIENT.insert(
collection_name=collection_name, collection_name=collection_name,
items=items, items=items,