mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-03 23:38:13 -05:00
feat: Support selecting OCR engine for Docling Server #4929
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?
Originally created by @kpchen on GitHub (Apr 22, 2025).
Check Existing Issues
Problem Description
I have configured the Docling which is so powerful as the document extraction tool on open webui, but I’m unable to select the OCR engine and language on openwebui,which is a very useful feature in Docling.

Desired Solution you'd like
there seems a parameter named "ocr_engine" in docling serve api documentation, which we can expose to openwebui.
Alternatives Considered
No response
Additional Context
No response
@athoik commented on GitHub (Apr 26, 2025):
Hi,
Needed exactly the same.
Manually you can add the ocr engine and ocr lang in params.
Here is a quick way to retrieve ocr engine and ocr lang using environment variables.
@tjbck is the approach acceptable? I can create a PR.