Creates a new Mistral OCR capability adapter.
Owning provider instance used for initialization checks and merged config access.
Initialized official Mistral SDK client.
Executes OCR against the Mistral OCR API.
Unified OCR request envelope.
Optional_ctx: MultiModalExecutionContextOptional execution context. Unused directly in this adapter.
Optionalsignal: AbortSignalOptional cancellation signal.
Provider-normalized OCR artifacts.
Adapts Mistral's
/v1/ocrendpoint into ProviderPlaneAI OCR document artifacts.Accepts exactly one OCR source per request, routes remote inputs as image or document references when possible, uploads local or byte-backed inputs to Mistral files when needed, and normalizes OCR page markdown into readable document and page text output.