@@ -549,7 +549,7 @@ Follow these steps to set up a video retrieval system and integrate it with your
549
549
{
550
550
"type": "AzureComputerVisionVideoIndex",
551
551
"parameters": {
552
- "endpoint ": "<your_computer_vision_endpoint>",
552
+ "computerVisionBaseUrl ": "<your_computer_vision_endpoint>",
553
553
"computerVisionApiKey": "<your_computer_vision_key>",
554
554
"indexName": "<name_of_your_index>",
555
555
"videoUrls": ["<your_video_SAS_URL>"]
@@ -563,13 +563,13 @@ Follow these steps to set up a video retrieval system and integrate it with your
563
563
{
564
564
"role": "user",
565
565
"content": [
566
- {
567
- "type": "text",
568
- "text": "Describe this video:"
569
- },
570
566
{
571
567
"type": "acv_document_id",
572
568
"acv_document_id": "<your_video_ID>"
569
+ },
570
+ {
571
+ "type": "text",
572
+ "text": "Describe this video:"
573
573
}
574
574
]
575
575
}
@@ -599,13 +599,13 @@ response = client.chat.completions.create(
599
599
messages=[
600
600
{ " role" : " system" , " content" : " You are a helpful assistant." },
601
601
{ " role" : " user" , " content" : [
602
- {
603
- " type" : " text" ,
604
- " text" : " Describe this video:"
605
- },
606
602
{
607
603
" type" : " acv_document_id" ,
608
604
" acv_document_id" : " <your_video_ID>"
605
+ },
606
+ {
607
+ " type" : " text" ,
608
+ " text" : " Describe this video:"
609
609
}
610
610
] }
611
611
],
0 commit comments