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:
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:


### 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.