Skip to content

Commit 7eb80cc

Browse files
committed
fix code format
1 parent b8e7672 commit 7eb80cc

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/ai-services/openai/how-to/gpt-with-vision.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ Follow these steps to set up a video retrieval system and integrate it with your
549549
{
550550
"type": "AzureComputerVisionVideoIndex",
551551
"parameters": {
552-
"endpoint": "<your_computer_vision_endpoint>",
552+
"computerVisionBaseUrl": "<your_computer_vision_endpoint>",
553553
"computerVisionApiKey": "<your_computer_vision_key>",
554554
"indexName": "<name_of_your_index>",
555555
"videoUrls": ["<your_video_SAS_URL>"]
@@ -563,13 +563,13 @@ Follow these steps to set up a video retrieval system and integrate it with your
563563
{
564564
"role": "user",
565565
"content": [
566-
{
567-
"type": "text",
568-
"text": "Describe this video:"
569-
},
570566
{
571567
"type": "acv_document_id",
572568
"acv_document_id": "<your_video_ID>"
569+
},
570+
{
571+
"type": "text",
572+
"text": "Describe this video:"
573573
}
574574
]
575575
}
@@ -599,13 +599,13 @@ response = client.chat.completions.create(
599599
messages=[
600600
{ "role": "system", "content": "You are a helpful assistant." },
601601
{ "role": "user", "content": [
602-
{
603-
"type": "text",
604-
"text": "Describe this video:"
605-
},
606602
{
607603
"type": "acv_document_id",
608604
"acv_document_id": "<your_video_ID>"
605+
},
606+
{
607+
"type": "text",
608+
"text": "Describe this video:"
609609
}
610610
] }
611611
],

0 commit comments

Comments
 (0)