Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,10 @@ param contentUnderstandingLocation string
])
param deploymentType string = 'GlobalStandard'

@minLength(1)
@description('Name of the GPT model to deploy:')
@allowed([
'gpt-4o-mini'
'gpt-4o'
'gpt-4'
])
param gptModelName string = 'gpt-4o'

@minLength(1)
@description('Version of the GPT model to deploy:')
@allowed([
'2024-08-06'
])
param gptModelVersion string = '2024-08-06'

//var gptModelVersion = '2024-02-15-preview'
Expand Down
1 change: 1 addition & 0 deletions infra/main.bicepparam
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ param environmentName = readEnvironmentVariable('AZURE_ENV_NAME', 'cps')
param contentUnderstandingLocation = readEnvironmentVariable('AZURE_ENV_CU_LOCATION', 'WestUS')
param deploymentType = readEnvironmentVariable('AZURE_ENV_MODEL_DEPLOYMENT_TYPE', 'GlobalStandard')
param gptModelName = readEnvironmentVariable('AZURE_ENV_MODEL_NAME', 'gpt-4o')
param gptModelVersion = readEnvironmentVariable('AZURE_ENV_MODEL_VERSION', '2024-08-06')
param gptDeploymentCapacity = int(readEnvironmentVariable('AZURE_ENV_MODEL_CAPACITY', '30'))
param useLocalBuild = readEnvironmentVariable('USE_LOCAL_BUILD', 'false')
param existingLogAnalyticsWorkspaceId = readEnvironmentVariable('AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID', '')
12 changes: 1 addition & 11 deletions infra/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.35.1.17967",
"templateHash": "12841296004328754819"
"templateHash": "15234454470886032390"
}
},
"parameters": {
Expand Down Expand Up @@ -54,23 +54,13 @@
"gptModelName": {
"type": "string",
"defaultValue": "gpt-4o",
"allowedValues": [
"gpt-4o-mini",
"gpt-4o",
"gpt-4"
],
"minLength": 1,
"metadata": {
"description": "Name of the GPT model to deploy:"
}
},
"gptModelVersion": {
"type": "string",
"defaultValue": "2024-08-06",
"allowedValues": [
"2024-08-06"
],
"minLength": 1,
"metadata": {
"description": "Version of the GPT model to deploy:"
}
Expand Down
Loading