mirror of
https://github.com/open-webui/open-webui
synced 2024-11-07 00:59:52 +00:00
fix
This commit is contained in:
parent
17c772831d
commit
630a78cead
@ -710,12 +710,6 @@ def save_docs_to_vector_db(
|
||||
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(
|
||||
collection_name=collection_name,
|
||||
items=items,
|
||||
|
Loading…
Reference in New Issue
Block a user