mistralM

Docs

ImprovementAPI

OCR API: block-level confidence score granularity

The OCR API confidence_scores_granularity parameter now supports "block" granularity in addition to "page" and "word", giving document pipelines finer control over quality thresholds and human-in-the-loop review.

Supported granularity levels

  • "page": returns page-level confidence scores only.
  • "block": returns both page-level and block-level confidence scores.
  • "word": returns both page-level and word-level confidence scores.