@@ -4,12 +4,17 @@ targetScope = 'resourceGroup'
44@minLength (3 )
55@maxLength (20 )
66@description ('A unique prefix for all resources in this deployment. This should be 3-20 characters long:' )
7- param environmentName string = 'env_name'
7+ param environmentName string
88
99@minLength (1 )
1010@description ('Secondary location for databases creation(example:eastus2):' )
1111param secondaryLocation string = 'eastus2'
1212
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.' )
1318@metadata ({
1419 azd : {
1520 type : 'location'
@@ -21,7 +26,6 @@ param secondaryLocation string = 'eastus2'
2126})
2227param aiDeploymentsLocation string
2328
24-
2529@minLength (1 )
2630@description ('GPT model deployment type:' )
2731@allowed ([
@@ -36,6 +40,7 @@ param gptModelName string = 'gpt-4.1'
3640@description ('Version of the GPT model to deploy:' )
3741param gptModelVersion string = '2025-04-14'
3842
43+ @description ('API version for Azure OpenAI service. This should be a valid API version supported by the service.' )
3944param azureOpenaiAPIVersion string = '2025-01-01-preview'
4045
4146@minValue (10 )
@@ -46,18 +51,15 @@ param gptDeploymentCapacity int = 150
4651
4752@minLength (1 )
4853@description ('Name of the Text Embedding model to deploy:' )
49- @allowed ([
50- 'text-embedding-ada-002'
51- ])
5254param embeddingModel string = 'text-embedding-ada-002'
5355
5456var abbrs = loadJsonContent ('./abbreviations.json' )
5557@minValue (10 )
5658@description ('Capacity of the Embedding Model deployment' )
5759param embeddingDeploymentCapacity int = 80
5860
61+ @description ('Image tag for the App Service container. Default is "latest".' )
5962param imageTag string = 'latest'
60- param AZURE_LOCATION string =''
6163
6264@description ('Optional: Existing Log Analytics Workspace Resource ID' )
6365param existingLogAnalyticsWorkspaceId string = ''
@@ -68,8 +70,6 @@ var uniqueId = toLower(uniqueString(environmentName, subscription().id, solution
6870var solutionPrefix = 'dg${padLeft (take (uniqueId , 12 ), 12 , '0' )}'
6971
7072
71-
72-
7373// ========== Managed Identity ========== //
7474module managedIdentityModule 'deploy_managed_identity.bicep' = {
7575 name : 'deploy_managed_identity'
0 commit comments