mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
refac
This commit is contained in:
parent
7347f95b24
commit
edc056351d
1 changed files with 0 additions and 6 deletions
|
|
@ -1387,12 +1387,6 @@ def save_docs_to_vector_db(
|
|||
items=items,
|
||||
)
|
||||
|
||||
# Validate the number of items inserted
|
||||
result = VECTOR_DB_CLIENT.query(
|
||||
collection_name=collection_name,
|
||||
filter={"metadata": metadata} if metadata else None,
|
||||
)
|
||||
|
||||
return True
|
||||
except Exception as e:
|
||||
log.exception(e)
|
||||
|
|
|
|||
Loading…
Reference in a new issue