spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

feat: Add Mistral AI OCR API integration

Open apappascs opened this issue 11 months ago • 1 comments

This commit introduces the Mistral AI OCR API integration to Spring AI.

  • Added MistralOcrApi class for interacting with the Mistral OCR endpoint.
  • Added MistralOcrApiIT integration test.
  • Updated documentation to include OCR API usage instructions.

This allows users to extract text and image data from documents using Mistral AI's OCR capabilities.

Announcement: https://mistral.ai/news/mistral-ocr/

Api: https://docs.mistral.ai/api/#tag/ocr Documentation: https://docs.mistral.ai/capabilities/document/


resolves #2582

apappascs avatar Mar 07 '25 12:03 apappascs

Hi @sobychacko @ilayaperumalg, following up to see if there's any visibility on the review timeline for this Mistral OCR PR as bandwidth allows?

apappascs avatar Apr 16 '25 10:04 apappascs

Can this PR be reviewed ? I need this for my client project, if it can be in the next milestone this would be great ! Thanks,

msansm1 avatar Apr 28 '25 09:04 msansm1

@apappascs Thank you for the PR adding the OCR API integration with Mistral AI. Sorry about the delay in getting back to this. The changes look good. Rebased, squashed and merged as 0c1a08962

ilayaperumalg avatar Sep 18 '25 09:09 ilayaperumalg