diff --git a/backend/open_webui/retrieval/vector/utils.py b/backend/open_webui/retrieval/vector/utils.py index 31b5b0748c..cb93ccedb8 100644 --- a/backend/open_webui/retrieval/vector/utils.py +++ b/backend/open_webui/retrieval/vector/utils.py @@ -4,7 +4,18 @@ from typing import Any from open_webui.retrieval.vector.main import SearchResult from open_webui.utils.misc import sanitize_text_for_db -KEYS_TO_EXCLUDE = ['content', 'pages', 'tables', 'paragraphs', 'sections', 'figures'] +KEYS_TO_EXCLUDE = [ + 'content', + 'pages', + 'tables', + 'paragraphs', + 'sections', + 'figures', + 'documents', + 'keyValuePairs', + 'styles', + 'languages', +] def filter_metadata(metadata: dict[str, any]) -> dict[str, any]: