You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/computer-vision/reference-video-search.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -332,6 +332,7 @@ Represents the create ingestion request model for the JSON document.
332
332
| videos |[[IngestionDocumentRequestModel](#ingestiondocumentrequestmodel)]| Gets or sets the list of video document ingestion requests in the JSON document. | No |
333
333
| moderation | boolean | Gets or sets the moderation flag, indicating if the content should be moderated. | No |
334
334
| generateInsightIntervals | boolean | Gets or sets the interval generation flag, indicating if insight intervals should be generated. | No |
335
+
| documentAuthenticationKind | string | Gets or sets the authentication kind that is to be used for downloading the documents.<br> _Enum:_`"none"`, `"managedIdentity"`| No |
335
336
| filterDefectedFrames | boolean | Frame filter flag indicating frames will be evaluated and all defected (e.g. blurry, lowlight, overexposure) frames will be filtered out. | No |
336
337
| includeSpeechTranscript | boolean | Gets or sets the transcript generation flag, indicating if transcript should be generated. | No |
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/gpt-with-vision.md
+85-2Lines changed: 85 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -251,7 +251,7 @@ The **Optical character recognition (OCR)** integration allows the model to prod
251
251
The **object grounding** integration brings a new layer to data analysis and user interaction, as the feature can visually distinguish and highlight important elements in the images it processes.
252
252
253
253
> [!IMPORTANT]
254
-
> To use Vision enhancement, you need a Computer Vision resource. It must be in the paid (S1) tier and in the same Azure region as your GPT-4 Turbo with Vision resource.
254
+
> To use the Vision enhancement with an Azure OpenAI resource, you need to specify a Computer Vision resource. It must be in the paid (S1) tier and in the same Azure region as your GPT-4 Turbo with Vision resource. If you're using an Azure AI Services resource, you don't need an additional Computer Vision resource.
255
255
256
256
> [!CAUTION]
257
257
> Azure AI enhancements for GPT-4 Turbo with Vision will be billed separately from the core functionalities. Each specific Azure AI enhancement for GPT-4 Turbo with Vision has its own distinct charges. For details, see the [special pricing information](../concepts/gpt-with-vision.md#special-pricing-information).
@@ -445,14 +445,52 @@ GPT-4 Turbo with Vision provides exclusive access to Azure AI Services tailored
445
445
Follow these steps to set up a video retrieval system and integrate it with your AI chat model.
446
446
447
447
> [!IMPORTANT]
448
-
> To use Vision enhancement, you need an Azure AI Vision resource. It must be in the paid (S1) tier and in the same Azure region as your GPT-4 Turbo with Vision resource.
448
+
> To use the Vision enhancement with an Azure OpenAI resource, you need to specify a Computer Vision resource. It must be in the paid (S1) tier and in the same Azure region as your GPT-4 Turbo with Vision resource. If you're using an Azure AI Services resource, you don't need an additional Computer Vision resource.
449
449
450
450
> [!CAUTION]
451
451
> Azure AI enhancements for GPT-4 Turbo with Vision will be billed separately from the core functionalities. Each specific Azure AI enhancement for GPT-4 Turbo with Vision has its own distinct charges. For details, see the [special pricing information](../concepts/gpt-with-vision.md#special-pricing-information).
452
452
453
453
> [!TIP]
454
454
> If you prefer, you can carry out the below steps using a Jupyter notebook instead: [Video chat completions notebook](https://github.com/Azure-Samples/azureai-samples/blob/main/scenarios/GPT-4V/video/video_chatcompletions_example_restapi.ipynb).
455
455
456
+
### Upload videos to Azure Blob Storage
457
+
458
+
You need to upload your videos to an Azure Blob Storage container. [Create a new storage account](https://ms.portal.azure.com/#create/Microsoft.StorageAccount) if you don't have one already.
459
+
460
+
Once your videos are uploaded, you can get their SAS URLs, which you use to access them in later steps.
461
+
462
+
#### Ensure proper read access
463
+
464
+
Depending on your authentication method, you may need to do some extra steps to grant access to the Azure Blob Storage container. If you're using an Azure AI Services resource instead of an Azure OpenAI resource, you need to use Managed Identities to grant it **read** access to Azure Blob Storage:
465
+
466
+
#### [using System assigned identities](#tab/system-assigned)
467
+
468
+
Enable System assigned identities on your Azure AI Services resource by following these steps:
469
+
1. From your AI Services resource in Azure portal select **Resource Management** -> **Identity** and toggle the status to **ON**.
470
+
1. Assign **Storage Blob Data Read** access to the AI Services resource: From the **Identity** page, select **Azure role assignments**, and then **Add role assignment** with the following settings:
471
+
- scope: storage
472
+
- subscription: {your subscription}
473
+
- Resource: {select the Azure Blob Storage resource}
474
+
- Role: Storage Blob Data Reader
475
+
1. Save your settings.
476
+
477
+
#### [using User assigned identities](#tab/user-assigned)
478
+
479
+
To use a User assigned identity on your Azure AI Services resource, follow these steps:
480
+
1. Create a new Managed Identity resource in the Azure portal.
481
+
1. Navigate to the new resource, then to **Azure Role Assignments**.
482
+
1. Add a **New Role Assignment** with the following settings:
483
+
- scope: storage
484
+
- subscription: {your subscription}
485
+
- Resource: {select the Azure Blob Storage resource}
486
+
- Role: Storage Blob Data Reader
487
+
1. Save your new configuration.
488
+
1. Navigate to your AI Services resource's **Identity** page.
489
+
1. Select the **User Assigned** Tab, then click **+Add** to select the newly created Managed Identity.
490
+
1. Save your configuration.
491
+
492
+
---
493
+
456
494
### Create a video retrieval index
457
495
458
496
1. Get an Azure AI Vision resource in the same region as the Azure OpenAI resource you're using.
@@ -633,6 +671,51 @@ print(response)
633
671
```
634
672
---
635
673
674
+
> [!IMPORTANT]
675
+
> The `"dataSources"` object's content varies depending on which Azure resource type and authentication method you're using. See the following reference:
0 commit comments