mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #14787] [MERGED] feat: Customize Docling's "Describe Pictures" feature #62450
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/14787
Author: @vaclcer
Created: 6/8/2025
Status: ✅ Merged
Merged: 6/8/2025
Merged by: @tjbck
Base:
dev← Head:vaclavs-custom-docling📝 Commits (1)
99f0556Add configuration options for picture description modes and update related components📊 Changes
5 files changed (+311 additions, -7 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(+64 -0)📝
src/lib/components/admin/Settings/Documents.svelte(+134 -0)📄 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.