From ddf97ecba6d24c31f98d99869977ebc3ffb3c5c2 Mon Sep 17 00:00:00 2001 From: Wei Xu Date: Thu, 7 Nov 2024 17:54:17 +1100 Subject: [PATCH] Clean up code --- backend/open_webui/apps/retrieval/main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/open_webui/apps/retrieval/main.py b/backend/open_webui/apps/retrieval/main.py index d58b37eda..549ce0732 100644 --- a/backend/open_webui/apps/retrieval/main.py +++ b/backend/open_webui/apps/retrieval/main.py @@ -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(