Creating and deploying Azure OpenAI in Azure AI Foundry involves several steps. Here’s a detailed guide to help you get started:
Step 1: Create an Azure OpenAI Resource
Sign in to Azure Portal: Go to the Azure portal and sign in with your Azure subscription.
Create a Resource: Select “Create a resource” and search for “Azure OpenAI”. When you locate the service, select “Create”.
Fill in the Details:
- Subscription: Choose your Azure subscription.
- Resource Group: Select an existing resource group or create a new one.
- Region: Choose the region where you want to deploy the resource.
- Name: Provide a descriptive name for your Azure OpenAI resource.
- Pricing Tier: Select the pricing tier (currently, only the Standard tier is available).
Configure Network Security:
- Network Type: Choose whether all networks, selected networks, or no networks can access this resource.
- Virtual Network: Specify the virtual networks that are permitted access.
- Subnets: Specify the subnets that are permitted access.
- Firewall: Configure address ranges or private endpoints.
Review and Create: Confirm your configuration settings and select “Create”. The Azure portal will notify you when the new resource is available.
Step 2: Deploy a Model in Azure AI Foundry
- Sign in to Azure AI Foundry: Go to the Azure AI Foundry portal and sign in.
- Choose Subscription and Resource: Select the subscription and the Azure OpenAI resource you created.
- Deploy Model: Follow the prompts to deploy your model. You can use pre-built models or customize your own.
Example Configuration
Here’s an example of how you might configure your Azure OpenAI resource using the Azure CLI:
az group create --name myResourceGroup --location eastus
az cognitiveservices account create --name myOpenAIResource --resource-group myResourceGroup --kind OpenAI --sku S0 --location eastus --api-properties "{'networkAcls': {'defaultAction': 'Deny', 'virtualNetworkRules': [{'id': '/subscriptions/<subscription-id>/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet'}]}}"
Additional Resources
For more detailed instructions, you can refer to the Azure documentation on creating and deploying Azure OpenAI resources 1.
This setup will help you leverage Azure OpenAI within Azure AI Foundry effectively.
1: Create and deploy an Azure OpenAI resource - Azure AI Foundry