[PR #14903] [MERGED] fix: Docling - serialize picture description parameters #110948

Closed
opened 2026-05-18 10:39:20 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: vaclavs-docling-picture-describe-fix


📝 Commits (1)

  • 4bbc32e fix: 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_local and picture_description_api keys values as JSON strings. This PR adresses that.

Fixed

  • serializes content of picture_description_local and picture_description_api before sending it into Docling

Screenshots or Videos

The system now accepts Docling options objects like so:

image
image

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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/14903 **Author:** [@vaclcer](https://github.com/vaclcer) **Created:** 6/11/2025 **Status:** ✅ Merged **Merged:** 6/16/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `vaclavs-docling-picture-describe-fix` --- ### 📝 Commits (1) - [`4bbc32e`](https://github.com/open-webui/open-webui/commit/4bbc32efa6df018f3c3fdcf448432c81cf724fd8) fix: serialize picture description parameters to JSON in DoclingLoader ### 📊 Changes **1 file changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/retrieval/loaders/main.py` (+4 -4) </details> ### 📄 Description ### Description Docling expects `picture_description_local` and `picture_description_api` keys values as JSON strings. This PR adresses that. ### Fixed - serializes content of `picture_description_local` and `picture_description_api` before sending it into Docling ### Screenshots or Videos The system now accepts Docling options objects like so: ![image](https://github.com/user-attachments/assets/fe830aa0-9e87-4483-b6cf-307fa90b900f) ![image](https://github.com/user-attachments/assets/ad7a0646-a0af-471e-a8b1-b566205acf6a) ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-18 10:39:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#110948