mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 08:15:00 -05:00
[PR #17276] [MERGED] feat: Extend docling configuration options #11175
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/17276
Author: @Elettrotecnica
Created: 9/8/2025
Status: ✅ Merged
Merged: 9/9/2025
Merged by: @tjbck
Base:
dev← Head:extend-docling-configuration📝 Commits (1)
daa2a03Extend docling configuration options to include:📊 Changes
5 files changed (+197 additions, -16 deletions)
View changed files
📝
backend/open_webui/config.py(+30 -0)📝
backend/open_webui/main.py(+10 -0)📝
backend/open_webui/retrieval/loaders/main.py(+16 -2)📝
backend/open_webui/routers/retrieval.py(+45 -1)📝
src/lib/components/admin/Settings/Documents.svelte(+96 -13)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
This PR introduces additional configuration options for the docling integration:
as per https://github.com/docling-project/docling-serve/blob/main/docs/usage.md
Added
New configuration options are now available in
/admin/settings/documents
They appear once "docling" is selected as the document processing engine.
Changed
Nothing
Deprecated
Nothing
Removed
Nothing
Fixed
Nothing
Security
Nothing
Breaking Changes
Nothing
Additional Information
Addresses https://github.com/open-webui/open-webui/issues/17148 (feature request by me)
The default values chosen for the settings are those documented in the docling-serve API, with the exception of "table_mode", that on open-webui was so far hardcoded as "accurate", hence I have used this as a default.
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.