forked from open-webui/open-webui
fix
This commit is contained in:
parent
b1b72441bb
commit
741ed5dc4c
2 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue