In the file mistral-ocr-with-vlm.ipynb the instruction requires to use the mistralai-ocr-2503 model for OCR, however such a model doesn't exist in the AI Foundry model catalog. When I look for "ocr", only the new mistral-document-ai model appears:
I tried to use this model and provided its URL endpoint, but executing the following the function _call_ocr_model() results in 500 error.
I tested different options of the URL, like https://MY_RESOURCE.services.ai.azure.com/providers/mistral/azure/ocr and https://MY_RESOURCE.services.ai.azure.com/providers/mistral/azure (the code appends /v1/ocr), but without success.
The mistral-ocr-2503 model is mentioned in the payload variable in the function _call_ocr_model() - I tried to replace it with mistral-document-ai-2505 with using the full endpoint URL and with removed appending /v1/ocr, but still 500 is returned.