Skip to content

Commit 506fd3e

Browse files
removed deprecated model and added 4.1
1 parent ed03e90 commit 506fd3e

3 files changed

Lines changed: 6 additions & 13 deletions

File tree

infra/main.bicep

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,10 @@ param useAdvancedImageProcessing bool = false
151151
param advancedImageProcessingMaxImages int = 1
152152

153153
@description('Optional. Azure OpenAI Vision Model Deployment Name.')
154-
param azureOpenAIVisionModel string = 'gpt-4'
154+
param azureOpenAIVisionModel string = 'gpt-4.1'
155155

156156
@description('Optional. Azure OpenAI Vision Model Name.')
157-
param azureOpenAIVisionModelName string = 'gpt-4'
158-
159-
@description('Optional. Azure OpenAI Vision Model Version.')
160-
param azureOpenAIVisionModelVersion string = 'turbo-2024-04-09'
157+
param azureOpenAIVisionModelName string = 'gpt-4.1'
161158

162159
@description('Optional. Azure OpenAI Vision Model Capacity - See here for more info https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/quota.')
163160
param azureOpenAIVisionModelCapacity int = 10
@@ -972,7 +969,6 @@ var openAiDeployments = concat(
972969
model: {
973970
format: 'OpenAI'
974971
name: azureOpenAIVisionModelName
975-
version: azureOpenAIVisionModelVersion
976972
}
977973
sku: {
978974
name: 'GlobalStandard'

infra/main.parameters.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,10 @@
127127
"value": "${ADVANCED_IMAGE_PROCESSING_MAX_IMAGES=1}"
128128
},
129129
"azureOpenAIVisionModel": {
130-
"value": "${AZURE_OPENAI_VISION_MODEL=gpt-4}"
130+
"value": "${AZURE_OPENAI_VISION_MODEL=gpt-4.1}"
131131
},
132132
"azureOpenAIVisionModelName": {
133-
"value": "${AZURE_OPENAI_VISION_MODEL_NAME=gpt-4}"
134-
},
135-
"azureOpenAIVisionModelVersion": {
136-
"value": "${AZURE_OPENAI_VISION_MODEL_VERSION=turbo-2024-04-09}"
133+
"value": "${AZURE_OPENAI_VISION_MODEL_NAME=gpt-4.1}"
137134
},
138135
"azureOpenAIVisionModelCapacity": {
139136
"value": "${AZURE_OPENAI_VISION_MODEL_CAPACITY=10}"

infra/modules/cognitive-services/account/cognitive-services.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,8 +593,8 @@ type deploymentType = {
593593
@description('Required. The format of Cognitive Services account deployment model.')
594594
format: string
595595

596-
@description('Required. The version of Cognitive Services account deployment model.')
597-
version: string
596+
@description('Optional. The version of Cognitive Services account deployment model.')
597+
version: string?
598598
}
599599

600600
@description('Optional. The resource model definition representing SKU.')

0 commit comments

Comments
 (0)