mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix
This commit is contained in:
parent
17c772831d
commit
630a78cead
1 changed files with 1 additions and 7 deletions
|
|
@ -709,13 +709,7 @@ 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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue