Skip to content

Commit cccbce6

Browse files
committed
update ocr cookbook
1 parent 4675ab7 commit cccbce6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

mistral/ocr/structured_ocr.ipynb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -450,11 +450,11 @@
450450
"print(json.dumps(response_dict, indent=4))\n"
451451
],
452452
"metadata": {
453-
"id": "1m19STu2DDfI",
454-
"outputId": "06f99dfe-b697-4d82-bf20-0fa60435d47f",
455453
"colab": {
456454
"base_uri": "https://localhost:8080/"
457-
}
455+
},
456+
"id": "1m19STu2DDfI",
457+
"outputId": "06f99dfe-b697-4d82-bf20-0fa60435d47f"
458458
},
459459
"execution_count": 8,
460460
"outputs": [
@@ -559,7 +559,8 @@
559559
" ImageURLChunk(image_url=base64_data_url),\n",
560560
" TextChunk(text=(\n",
561561
" f\"This is the image's OCR in markdown:\\n{image_ocr_markdown}\\n.\\n\"\n",
562-
" \"Convert this into a structured JSON response with the OCR contents in a sensible dictionnary.\"\n",
562+
" \"Convert this into a structured JSON response \"\n",
563+
" \"with the OCR contents in a sensible dictionnary.\"\n",
563564
" )\n",
564565
" )\n",
565566
" ]\n",

0 commit comments

Comments
 (0)