Skip to content

Commit 7764b74

Browse files
Add markdown cells for marketing video and chart analysis results in field extraction notebook (#79)
1 parent f9834e7 commit 7764b74

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

notebooks/field_extraction.ipynb

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"import json\n",
5959
"import os\n",
6060
"import sys\n",
61+
"import uuid\n",
6162
"from pathlib import Path\n",
6263
"from dotenv import find_dotenv, load_dotenv\n",
6364
"from azure.identity import DefaultAzureCredential, get_bearer_token_provider\n",
@@ -690,6 +691,13 @@
690691
"result_json = client.poll_result(response)"
691692
]
692693
},
694+
{
695+
"cell_type": "markdown",
696+
"metadata": {},
697+
"source": [
698+
"Marketing video analysis result:"
699+
]
700+
},
693701
{
694702
"cell_type": "code",
695703
"execution_count": null,
@@ -749,6 +757,13 @@
749757
" print(json.dumps(template_content, indent=2))"
750758
]
751759
},
760+
{
761+
"cell_type": "markdown",
762+
"metadata": {},
763+
"source": [
764+
"Create and run chart image analyzer:"
765+
]
766+
},
752767
{
753768
"cell_type": "code",
754769
"execution_count": null,
@@ -768,6 +783,13 @@
768783
"result_json = client.poll_result(response)"
769784
]
770785
},
786+
{
787+
"cell_type": "markdown",
788+
"metadata": {},
789+
"source": [
790+
"Chart analysis result:"
791+
]
792+
},
771793
{
772794
"cell_type": "code",
773795
"execution_count": null,
@@ -777,6 +799,15 @@
777799
"print(json.dumps(result_json, indent=2))"
778800
]
779801
},
802+
{
803+
"cell_type": "markdown",
804+
"metadata": {},
805+
"source": [
806+
"Clean up chart image analyzer\n",
807+
"\n",
808+
"Note: In production environments, you would typically keep analyzers for reuse rather than deleting them"
809+
]
810+
},
780811
{
781812
"cell_type": "code",
782813
"execution_count": null,

0 commit comments

Comments
 (0)