Skip to content

Add support for Azure-hosted Mistral OCR #122

Open

Description

@nitodeco

Problem

The @mistralai/mistralai-azure doesn't support Mistral OCR, forcing developers to bypass the SDK entirely.

  • OCR models are not accessible through the SDK
  • Developers must use manual HTTP POST requests to the endpoint
  • No type definitions exist for OCR response objects -> No way to properly parse or validate OCR API responses

Expected Behaviour

  • OCR models should be accessible through the SDK's standard interface
  • Type definitions for OCR requests and responses
  • Proper error handling and response parsing

Impact

  • Loss of type safety when working with OCR on Azure
  • Inconsistent developer experience compared to other model types (and providers)
  • Increased boilerplate code for OCR integration

Activity

  1. georg-wolflein commented on Sep 5, 2025

    @georg-wolflein

    Is there any update on the Azure Mistral OCR support?

  2. ghostyfreak commented on Oct 26, 2025

    @ghostyfreak

    This is long overdue. And with document ai annotation processing, an sdk would be much nicer to work with

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions