mirror of
https://github.com/open-webui/open-webui
synced 2024-11-21 23:57:51 +00:00
Clean up code
This commit is contained in:
parent
7535bac9e4
commit
ddf97ecba6
@ -701,7 +701,6 @@ def save_docs_to_vector_db(
|
||||
f"save_docs_to_vector_db: document {_get_docs_info(docs)} {collection_name}"
|
||||
)
|
||||
|
||||
# TODO: check the metadata , should contain S3 path
|
||||
# Check if entries with the same hash (metadata.hash) already exist
|
||||
if metadata and "hash" in metadata:
|
||||
result = VECTOR_DB_CLIENT.query(
|
||||
|
Loading…
Reference in New Issue
Block a user