From 9772c18b20d826396b3e600452726f4aafc64b7c Mon Sep 17 00:00:00 2001 From: Vaclav Cerny Date: Wed, 4 Jun 2025 17:21:44 +0200 Subject: [PATCH] fix(loader): remove deprecated picture description configuration --- backend/open_webui/retrieval/loaders/main.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/backend/open_webui/retrieval/loaders/main.py b/backend/open_webui/retrieval/loaders/main.py index 0dc530c96d..73e061f751 100644 --- a/backend/open_webui/retrieval/loaders/main.py +++ b/backend/open_webui/retrieval/loaders/main.py @@ -293,14 +293,8 @@ class Loader: "ocr_lang": self.kwargs.get("DOCLING_OCR_LANG"), "do_picture_description": self.kwargs.get( "DOCLING_DO_PICTURE_DESCRIPTION" - ), - "picture_description_local": ( - '{\n' - ' "repo_id": "HuggingFaceTB/SmolVLM-256M-Instruct",\n' - ' "prompt": "Analyze the image and provide a comprehensive, detailed description. Identify all visible objects, their attributes, actions taking place, spatial relationships, and any contextual or inferred connections. Use clear, structured, and informative language suitable for downstream retrieval or knowledge extraction tasks."\n' - '}' ) - }, + } ) elif ( self.engine == "document_intelligence"