@@ -587,7 +587,7 @@ To use a User assigned identity on your Azure AI Services resource, follow these
587
587
{
588
588
"type": "AzureComputerVisionVideoIndex",
589
589
"parameters": {
590
- "endpoint ": "<your_computer_vision_endpoint>",
590
+ "computerVisionBaseUrl ": "<your_computer_vision_endpoint>",
591
591
"computerVisionApiKey": "<your_computer_vision_key>",
592
592
"indexName": "<name_of_your_index>",
593
593
"videoUrls": ["<your_video_SAS_URL>"]
@@ -601,13 +601,13 @@ To use a User assigned identity on your Azure AI Services resource, follow these
601
601
{
602
602
"role": "user",
603
603
"content": [
604
- {
605
- "type": "text",
606
- "text": "Describe this video:"
607
- },
608
604
{
609
605
"type": "acv_document_id",
610
606
"acv_document_id": "<your_video_ID>"
607
+ },
608
+ {
609
+ "type": "text",
610
+ "text": "Describe this video:"
611
611
}
612
612
]
613
613
}
@@ -637,13 +637,13 @@ response = client.chat.completions.create(
637
637
messages=[
638
638
{ " role" : " system" , " content" : " You are a helpful assistant." },
639
639
{ " role" : " user" , " content" : [
640
- {
641
- " type" : " text" ,
642
- " text" : " Describe this video:"
643
- },
644
640
{
645
641
" type" : " acv_document_id" ,
646
642
" acv_document_id" : " <your_video_ID>"
643
+ },
644
+ {
645
+ " type" : " text" ,
646
+ " text" : " Describe this video:"
647
647
}
648
648
] }
649
649
],
0 commit comments