Skip to content

Commit f7a2ce9

Browse files
Harmanpreet-MicrosoftHarmanpreet Kaur
andauthored
chore: Update Azure OpenAI Vision Model configuration to turbo-2024-04-09 from vision-preview (#1752)
Co-authored-by: Harmanpreet Kaur <[email protected]>
1 parent 9de26fd commit f7a2ce9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/model_configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This document outlines the necessary steps and configurations required for setti
2929
- `AZURE_OPENAI_VISION_MODEL_NAME`: The Azure OpenAI Model Name
3030
- example: `gpt-4`
3131
- `AZURE_OPENAI_VISION_MODEL_VERSION`: The Azure OpenAI Model Version
32-
- example: `vision-preview`
32+
- example: `turbo-2024-04-09`
3333
- `AZURE_OPENAI_VISION_MODEL_CAPACITY`: The Tokens per Minute Rate Limit (thousands)
3434
- example: `10`
3535

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ param azureOpenAIVisionModel string = 'gpt-4'
149149
param azureOpenAIVisionModelName string = 'gpt-4'
150150

151151
@description('Azure OpenAI Vision Model Version')
152-
param azureOpenAIVisionModelVersion string = 'vision-preview'
152+
param azureOpenAIVisionModelVersion string = 'turbo-2024-04-09'
153153

154154
@description('Azure OpenAI Vision Model Capacity - See here for more info https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/quota')
155155
param azureOpenAIVisionModelCapacity int = 10

infra/main.bicepparam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ param useAdvancedImageProcessing = bool(readEnvironmentVariable('USE_ADVANCED_IM
4040
param advancedImageProcessingMaxImages = int(readEnvironmentVariable('ADVANCED_IMAGE_PROCESSING_MAX_IMAGES', '1'))
4141
param azureOpenAIVisionModel = readEnvironmentVariable('AZURE_OPENAI_VISION_MODEL', 'gpt-4')
4242
param azureOpenAIVisionModelName = readEnvironmentVariable('AZURE_OPENAI_VISION_MODEL_NAME', 'gpt-4')
43-
param azureOpenAIVisionModelVersion = readEnvironmentVariable('AZURE_OPENAI_VISION_MODEL_VERSION', 'vision-preview')
43+
param azureOpenAIVisionModelVersion = readEnvironmentVariable('AZURE_OPENAI_VISION_MODEL_VERSION', 'turbo-2024-04-09')
4444
param azureOpenAIVisionModelCapacity = int(readEnvironmentVariable('AZURE_OPENAI_VISION_MODEL_CAPACITY', '10'))
4545
param azureOpenAIEmbeddingModel = readEnvironmentVariable('AZURE_OPENAI_EMBEDDING_MODEL', 'text-embedding-ada-002')
4646
param azureOpenAIEmbeddingModelName = readEnvironmentVariable('AZURE_OPENAI_EMBEDDING_MODEL_NAME', 'text-embedding-ada-002')

infra/main.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.33.93.31351",
8-
"templateHash": "4812595955475306561"
8+
"templateHash": "5128832335196651060"
99
}
1010
},
1111
"parameters": {
@@ -315,7 +315,7 @@
315315
},
316316
"azureOpenAIVisionModelVersion": {
317317
"type": "string",
318-
"defaultValue": "vision-preview",
318+
"defaultValue": "turbo-2024-04-09",
319319
"metadata": {
320320
"description": "Azure OpenAI Vision Model Version"
321321
}

0 commit comments

Comments
 (0)