@@ -6,16 +6,25 @@ targetScope = 'resourceGroup'
66@description ('A unique prefix for all resources in this deployment. This should be 3-20 characters long:' )
77param environmentName string
88
9+ @minLength (1 )
10+ @description ('Secondary location for databases creation(example:eastus2):' )
11+ param secondaryLocation string = 'eastus2'
12+
13+ @description ('Azure location for the solution. If not provided, it defaults to the resource group location.' )
14+ param AZURE_LOCATION string =''
15+
16+ // ========== AI Deployments Location ========== //
17+ @description ('Location for AI deployments. This should be a valid Azure region where OpenAI services are available.' )
918@metadata ({
1019 azd : {
1120 type : 'location'
21+ usageName : [
22+ 'OpenAI.GlobalStandard.gpt4.1,150'
23+ 'OpenAI.Standard.text-embedding-ada-002,80'
24+ ]
1225 }
1326})
14-
15-
16- @minLength (1 )
17- @description ('Secondary location for databases creation(example:eastus2):' )
18- param secondaryLocation string
27+ param aiDeploymentsLocation string
1928
2029@minLength (1 )
2130@description ('GPT model deployment type:' )
@@ -31,28 +40,26 @@ param gptModelName string = 'gpt-4.1'
3140@description ('Version of the GPT model to deploy:' )
3241param gptModelVersion string = '2025-04-14'
3342
34- param azureOpenaiAPIVersion string = '2024-05-01-preview'
43+ @description ('API version for Azure OpenAI service. This should be a valid API version supported by the service.' )
44+ param azureOpenaiAPIVersion string = '2025-01-01-preview'
3545
3646@minValue (10 )
3747@description ('Capacity of the GPT deployment:' )
3848// You can increase this, but capacity is limited per model/region, so you will get errors if you go over
3949// https://learn.microsoft.com/en-us/azure/ai-services/openai/quotas-limits
40- param gptDeploymentCapacity int = 30
50+ param gptDeploymentCapacity int = 150
4151
4252@minLength (1 )
4353@description ('Name of the Text Embedding model to deploy:' )
44- @allowed ([
45- 'text-embedding-ada-002'
46- ])
4754param embeddingModel string = 'text-embedding-ada-002'
4855
4956var abbrs = loadJsonContent ('./abbreviations.json' )
5057@minValue (10 )
5158@description ('Capacity of the Embedding Model deployment' )
5259param embeddingDeploymentCapacity int = 80
5360
61+ @description ('Image tag for the App Service container. Default is "latest".' )
5462param imageTag string = 'latest'
55- param AZURE_LOCATION string =''
5663
5764@description ('Optional: Existing Log Analytics Workspace Resource ID' )
5865param existingLogAnalyticsWorkspaceId string = ''
@@ -91,7 +98,7 @@ module aifoundry 'deploy_ai_foundry.bicep' = {
9198 name : 'deploy_ai_foundry'
9299 params : {
93100 solutionName : solutionPrefix
94- solutionLocation : solutionLocation
101+ solutionLocation : aiDeploymentsLocation
95102 keyVaultName : kvault .outputs .keyvaultName
96103 deploymentType : deploymentType
97104 gptModelName : gptModelName
0 commit comments