Skip to content

Commit 73ef1a4

Browse files
committed
fix text content type
1 parent 15bb12f commit 73ef1a4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/1_call_azure_openai_chat/query_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def init_args() -> argparse.Namespace:
6262
},
6363
{
6464
"type": "text",
65-
"content": args.prompt,
65+
"text": args.prompt,
6666
},
6767
],
6868
},

apps/99_streamlit_examples/pages/2_Image_Q&A.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def is_configured():
9191
},
9292
{
9393
"type": "text",
94-
"content": question,
94+
"text": question,
9595
},
9696
],
9797
},

apps/99_streamlit_examples/pages/3_Camera_Q&A.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def is_configured():
8181
},
8282
{
8383
"type": "text",
84-
"content": question,
84+
"text": question,
8585
},
8686
],
8787
},

0 commit comments

Comments
 (0)