Create or update an Azure AI Video Indexer account with an Azure OpenAI connection
You can use Azure AI Video Indexer with Azure OpenAI deployments by creating or updating an Azure AI Video Indexer account to connect with an Azure OpenAI in the Azure portal. This article shows you how to connect Azure OpenAI to Azure AI Video Indexer, but doesn't cover use cases for Azure OpenAI or combining the two services. To learn more about what can be done with Azure OpenAI deployments, see the Azure OpenAI Service documentation.
Prerequisites
- An Azure subscription
Note
It is recommended that you create resources in the same region to avoid performance issues.
Create an Azure OpenAI account
- From the Azure portal home page, select Create a resource.
- Enter OpenAI in the search bar.
- Select the Azure OpenAI card or Create and then Azure OpenAI.
- Select the resource group you want to use from the Resource group drowpdown list or create a new one.
- Select the region (location) from the Region dropdown** list.
- Give the Azure OpenAI resource a name.
- Select a tier from the Pricing tier dropdown list.
- Select Next.
- Select the Disabled, no networks can access this resource. You could configure private endpoint connections that will be the exclusive way to access this resource button unless you want to configure network access. Additionally, you can configure a private endpoint.
- Select Next.
- Select Create.
- Wait for the deployment to finish.
Create an Azure AI Video Indexer account with a connection to Azure OpenAI
- Navigate to the resource group you are currently working with.
- Select Create.
- Search for and select Azure AI Video Indexer. The Create a Video Indexer resource page appears.
- Create a resource group and selecting the region.
- Give the account a name in the Resource name field.
- Connect the account to storage. Either…
- Select an existing storage account from the Storage account dropdown or
- Create a new storage account. For more information about creating a storage account, see Create a storage account. Storage accounts for VI must be a Standard general-purpose v2 storage account.
- Select the Azure OpenAI account you want to work with from the Azure OpenAI Resource dropdown list.
- Select system assigned managed identity.
- Select the I have all the rights to use the content/file, and agree that it will be handled per the Online Services Terms and the Microsoft Privacy Statement checkbox.
- Select Review + create. Validation of the configuration starts.
- When validation is complete, select Create.
- When the deployment is complete, select Go to resource. The Azure AI Video Indexer overview page opens.
- Notifications on the page appear that say you must select a managed identity role assignment. Select the Assign role buttons. The Azure AI Video Indexer and Azure OpenAI accounts are now connected.
Update an existing Azure AI Video Indexer account to connect to Azure OpenAI
- In the Azure portal, navigate to the existing Azure AI Video Indexer account and select Overview.
- Select the connect or change link next to the Azure OpenAI item.
- Select the Azure OpenAI resource you want to use from the Azure OpenAI dropdown list.
- Select Update.
- Select Assign roles in the error message.