mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #14903] [MERGED] fix: Docling - serialize picture description parameters #46685
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/14903
Author: @vaclcer
Created: 6/11/2025
Status: ✅ Merged
Merged: 6/16/2025
Merged by: @tjbck
Base:
dev← Head:vaclavs-docling-picture-describe-fix📝 Commits (1)
4bbc32efix: serialize picture description parameters to JSON in DoclingLoader📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
backend/open_webui/retrieval/loaders/main.py(+4 -4)📄 Description
Description
Docling expects
picture_description_localandpicture_description_apikeys values as JSON strings. This PR adresses that.Fixed
picture_description_localandpicture_description_apibefore sending it into DoclingScreenshots or Videos
The system now accepts Docling options objects like so:
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.