Skip to content

Commit 6f192b9

Browse files
added gptModelVersion
1 parent e7f79bd commit 6f192b9

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs/CustomizingAzdParameters.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ By default this template will use the environment name as the prefix to prevent
1414
| `AZURE_ENV_MODEL_NAME` | string | `gpt-4o` | Set the Model Name (allowed values: gpt-4o). |
1515
| `AZURE_ENV_MODEL_CAPACITY` | integer | `200` | Set the Model Capacity (choose a number based on available GPT model capacity in your subscription). |
1616
| `AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID` | string | `<Existing Workspace Id>` | Set this if you want to reuse an existing Log Analytics Workspace instead of creating a new one. |
17-
| `AZURE_ENV_IMAGETAG` | string | `'latest'` | Set the Image tag Like (allowed values: latest, dev, hotfix) |
17+
| `AZURE_ENV_IMAGETAG` | string | `latest` | Set the Image tag Like (allowed values: latest, dev, hotfix) |
18+
| `AZURE_ENV_MODEL_VERSION` | string | `2024-08-06` | Set the Azure model version (allowed values: 2024-08-06) |
1819

1920
---
2021

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ param capacity int = 5
3535
param deploymentType string = 'GlobalStandard'
3636
param llmModel string = 'gpt-4o'
3737
param imageVersion string = 'latest'
38+
param gptModelVersion string = '2024-08-06'
3839

3940

4041

@@ -50,7 +51,6 @@ var cosmosdbLogContainer = 'cmsalog'
5051
var containerName = 'appstorage'
5152
var storageSkuName = 'Standard_LRS'
5253
var storageContainerName = replace(replace(replace(replace('${ResourcePrefix}cast', '-', ''), '_', ''), '.', ''),'/', '')
53-
var gptModelVersion = '2024-08-06'
5454
var azureAiServicesName = '${abbrs.ai.aiServices}${ResourcePrefix}'
5555

5656

infra/main.bicepparam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ param AzureAiServiceLocation = readEnvironmentVariable('AZURE_LOCATION','japanea
55
param capacity = int(readEnvironmentVariable('AZURE_ENV_MODEL_CAPACITY', '200'))
66
param deploymentType = readEnvironmentVariable('AZURE_ENV_MODEL_DEPLOYMENT_TYPE', 'GlobalStandard')
77
param llmModel = readEnvironmentVariable('AZURE_ENV_MODEL_NAME', 'gpt-4o')
8+
param gptModelVersion = readEnvironmentVariable('AZURE_ENV_MODEL_VERSION', '2024-08-06')
89
param imageVersion = readEnvironmentVariable('AZURE_ENV_IMAGETAG', 'latest')

0 commit comments

Comments
 (0)