mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #19707] feat: Mistral OCR additional params #18960
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 @theobgbd on GitHub (Dec 3, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19707
Check Existing Issues
Verify Feature Scope
Problem Description
Following #14200, the custom Mistral API endpoint had been introduced in version 0.6.35. This addition is a step in the right direction, however, its usage is heavily limited by the use of the /files endpoint interrogation method.
Desired Solution you'd like
Following the solution proposed by @paddy313 in PR #18905, a new set of parameters should be introduced (through the env variable MISTRAL_OCR_PARAMS), to manage the file transfer method, force the use of the /ocr endpoint, and provide options for the annotations and bbox features.
Alternatives Considered
No response
Additional Context
No response
@owui-terminator[bot] commented on GitHub (Dec 3, 2025):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#17677 feat: custom endpoint for
mistral ocrby ion-elgreco • Sep 23, 2025
#14134 feat: Customized endpoint for Mistral OCR
by tiangao88 • May 21, 2025
#12035 feat: Support Mistral OCR
by space192 • Mar 25, 2025
#19649 feat: support dots.ocr for image analysis
by Busboy3129 • Dec 01, 2025
💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@JARZcorp commented on GitHub (Dec 3, 2025):
Would be very much appreciated especially to allow for Azure Mistral OCR endpoints
@tiangao88 commented on GitHub (Dec 14, 2025):
I confirm that being able to use /ocr endpoint for Azure AI Foundry (which is supported by LiteLLM) is a real need and would push further the usage of OpenWebUI with organizations who want tight control on their data. #14200
@paddy313 can you help us out please?
@KevinRohn commented on GitHub (Dec 24, 2025):
I opened a PR for this - see #20126
@tiangao88 commented on GitHub (Dec 25, 2025):
That is a nice Xmas gift. Thank you @KevinRohn