Skip to content

Commit 2ecedfe

Browse files
Merge pull request #268147 from PatrickFarley/gh-issues-address
fix code format
2 parents 17753d3 + cab7e33 commit 2ecedfe

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
@@ -587,7 +587,7 @@ To use a User assigned identity on your Azure AI Services resource, follow these
587587
{
588588
"type": "AzureComputerVisionVideoIndex",
589589
"parameters": {
590-
"endpoint": "<your_computer_vision_endpoint>",
590+
"computerVisionBaseUrl": "<your_computer_vision_endpoint>",
591591
"computerVisionApiKey": "<your_computer_vision_key>",
592592
"indexName": "<name_of_your_index>",
593593
"videoUrls": ["<your_video_SAS_URL>"]
@@ -601,13 +601,13 @@ To use a User assigned identity on your Azure AI Services resource, follow these
601601
{
602602
"role": "user",
603603
"content": [
604-
{
605-
"type": "text",
606-
"text": "Describe this video:"
607-
},
608604
{
609605
"type": "acv_document_id",
610606
"acv_document_id": "<your_video_ID>"
607+
},
608+
{
609+
"type": "text",
610+
"text": "Describe this video:"
611611
}
612612
]
613613
}
@@ -637,13 +637,13 @@ response = client.chat.completions.create(
637637
messages=[
638638
{ "role": "system", "content": "You are a helpful assistant." },
639639
{ "role": "user", "content": [
640-
{
641-
"type": "text",
642-
"text": "Describe this video:"
643-
},
644640
{
645641
"type": "acv_document_id",
646642
"acv_document_id": "<your_video_ID>"
643+
},
644+
{
645+
"type": "text",
646+
"text": "Describe this video:"
647647
}
648648
] }
649649
],

0 commit comments

Comments
 (0)