mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #18306] [MERGED] feat: add mineru as document parser backend with support of both local and managed api #40378
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/18306
Author: @palazski
Created: 10/13/2025
Status: ✅ Merged
Merged: 10/16/2025
Merged by: @tjbck
Base:
dev← Head:main📝 Commits (2)
40e9d9cfeat: add mineru as document parser support with both local and managed api288b323feat: use MINERU_PARAMS json field for mineru settings📊 Changes
6 files changed (+730 additions, -0 deletions)
View changed files
📝
backend/open_webui/config.py(+30 -0)📝
backend/open_webui/main.py(+8 -0)📝
backend/open_webui/retrieval/loaders/main.py(+17 -0)➕
backend/open_webui/retrieval/loaders/mineru.py(+541 -0)📝
backend/open_webui/routers/retrieval.py(+42 -0)📝
src/lib/components/admin/Settings/Documents.svelte(+92 -0)📄 Description
Changelog Entry
Description
This PR adds support for minerU as a document parser backend. minerU offers both a cloud API and a local deployment, and this PR supports both these APIs.
Added
Added minerU backend file, related settings environments, and PersistentConfig entries..
Changed
None.
Deprecated
None.
Removed
None.
Fixed
None.
Security
None.
Breaking Changes
None.
Additional Information
None.
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.