mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-14 02:55:00 -05:00
[PR #14712] [CLOSED] WIP: Customize Docling's "Describe Pictures" feature #10360
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/14712
Author: @vaclcer
Created: 6/5/2025
Status: ❌ Closed
Base:
dev← Head:vaclavs-custom-picture-describe📝 Commits (10+)
9606f43feat: add picture description configuration options for Docling898e56cchore: remove unused log level variables from dev scripte0c20e1Merge branch 'dev' into vaclavs-custom-picture-describebaf90cerefac: improve input formatting for Docling server and OCR settingse3f341cadd aria-hidden to svg, as these are decorativee1949e6remove aria-label from tooltip, as tippy handles this out of the boxb9c2fcfadd aria labels to buttons that only contains decorative svgs4532b40reindent xmlns6cb37e8chore: formatce9fb75[i18n] Russian locale update📊 Changes
59 files changed (+476 additions, -41 deletions)
View changed files
📝
backend/open_webui/config.py(+48 -0)📝
backend/open_webui/main.py(+14 -0)📝
backend/open_webui/retrieval/loaders/main.py(+51 -7)📝
backend/open_webui/routers/retrieval.py(+65 -0)📝
src/lib/components/admin/Settings/Documents.svelte(+137 -3)📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+28 -0)📝
src/lib/components/common/Tooltip.svelte(+1 -3)📝
src/lib/i18n/locales/ar-BH/translation.json(+2 -0)📝
src/lib/i18n/locales/ar/translation.json(+2 -0)📝
src/lib/i18n/locales/bg-BG/translation.json(+2 -0)📝
src/lib/i18n/locales/bn-BD/translation.json(+2 -0)📝
src/lib/i18n/locales/bo-TB/translation.json(+2 -0)📝
src/lib/i18n/locales/ca-ES/translation.json(+2 -0)📝
src/lib/i18n/locales/ceb-PH/translation.json(+2 -0)📝
src/lib/i18n/locales/cs-CZ/translation.json(+2 -0)📝
src/lib/i18n/locales/da-DK/translation.json(+2 -0)📝
src/lib/i18n/locales/de-DE/translation.json(+2 -0)📝
src/lib/i18n/locales/dg-DG/translation.json(+2 -0)📝
src/lib/i18n/locales/el-GR/translation.json(+2 -0)📝
src/lib/i18n/locales/en-GB/translation.json(+2 -0)...and 39 more files
📄 Description
Description
This PR adds a customization to the Docling's content extraction engine. It follows recent Docling's development described at https://github.com/docling-project/docling-serve/blob/main/docs/usage.md#picture-description-options.
With this PR, user can choose to use a locally hosted VLM (in Docling env) to describe pictures in the document or use external OpenAI-like API to do so.
Additional Information
Please advice if this is wanted or not, especially UI styling etc.
Screenshots or Videos
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.