MistralClient.Models.OCRResponse (mistralex_ai v0.1.0)

View Source

Represents an OCR processing response.

Summary

Functions

Create an OCR response from a map.

Types

t()

@type t() :: %MistralClient.Models.OCRResponse{
  document_annotation: String.t() | nil,
  model: String.t(),
  pages: [MistralClient.Models.OCRPageObject.t()],
  usage_info: MistralClient.Models.OCRUsageInfo.t()
}

Functions

from_map(data)

@spec from_map(map()) :: t()

Create an OCR response from a map.