@@ -658,7 +658,7 @@ ocr_response = client.ocr.process(
658658 model = " mistral-ocr-latest" ,
659659 document = {
660660 " type" : " image_url" ,
661- " image_url" : " https://media-cldnry.s-nbcnews .com/image/upload/t_fit-560w,f_avif,q_auto:eco,dpr_2/rockcms/2023-11/short-quotes-swl-231117-02-33d404.jpg "
661+ " image_url" : " https://raw.githubusercontent .com/mistralai/cookbook/refs/heads/main/mistral/ocr/receipt.png "
662662 }
663663)
664664```
@@ -712,7 +712,7 @@ const ocrResponse = await client.ocr.process({
712712 model: " mistral-ocr-latest" ,
713713 document: {
714714 type: " image_url" ,
715- imageUrl: " https://media-cldnry.s-nbcnews .com/image/upload/t_fit-560w,f_avif,q_auto:eco,dpr_2/rockcms/2023-11/short-quotes-swl-231117-02-33d404.jpg " ,
715+ imageUrl: " https://raw.githubusercontent .com/mistralai/cookbook/refs/heads/main/mistral/ocr/receipt.png " ,
716716 }
717717});
718718```
@@ -726,7 +726,7 @@ curl https://api.mistral.ai/v1/ocr \
726726 "model": "mistral-ocr-latest",
727727 "document": {
728728 "type": "image_url",
729- "image_url": "https://media-cldnry.s-nbcnews .com/image/upload/t_fit-560w,f_avif,q_auto:eco,dpr_2/rockcms/2023-11/short-quotes-swl-231117-02-33d404.jpg "
729+ "image_url": "https://raw.githubusercontent .com/mistralai/cookbook/refs/heads/main/mistral/ocr/receipt.png "
730730 }
731731 }' -o ocr_output.json
732732```
@@ -877,4 +877,4 @@ For more information and guides on how to make use of OCR and leverage document
877877
878878## FAQ
879879### Are there any limits regarding the OCR API?
880- Yes, there are certain limitations for the OCR API. Uploaded document files must not exceed 50 MB in size and should be no longer than 1,000 pages.
880+ Yes, there are certain limitations for the OCR API. Uploaded document files must not exceed 50 MB in size and should be no longer than 1,000 pages.
0 commit comments