@@ -57,7 +57,7 @@ param speechServiceResourceGroupName string = ''
57
57
param speechServiceLocation string = ''
58
58
param speechServiceName string = ''
59
59
param speechServiceSkuName string // Set in main.parameters.json
60
- param useGPT4V bool = false
60
+ param useGPT4V bool = true
61
61
62
62
@description ('Location for the OpenAI resource group' )
63
63
@allowed ([
@@ -110,32 +110,37 @@ param chatGptModelName string = ''
110
110
param chatGptDeploymentName string = ''
111
111
param chatGptDeploymentVersion string = ''
112
112
param chatGptDeploymentCapacity int = 0
113
+ param chatGptDeploymentSkuName string = ''
113
114
var chatGpt = {
114
115
modelName : !empty (chatGptModelName )
115
116
? chatGptModelName
116
117
: startsWith (openAiHost , 'azure' ) ? 'gpt-35-turbo' : 'gpt-3.5-turbo'
117
118
deploymentName : !empty (chatGptDeploymentName ) ? chatGptDeploymentName : 'chat'
118
119
deploymentVersion : !empty (chatGptDeploymentVersion ) ? chatGptDeploymentVersion : '0613'
119
120
deploymentCapacity : chatGptDeploymentCapacity != 0 ? chatGptDeploymentCapacity : 30
121
+ deploymentSkuName : !empty (chatGptDeploymentSkuName ) ? chatGptDeploymentSkuName : 'Standard'
120
122
}
121
123
122
124
param embeddingModelName string = ''
123
125
param embeddingDeploymentName string = ''
124
126
param embeddingDeploymentVersion string = ''
125
127
param embeddingDeploymentCapacity int = 0
126
128
param embeddingDimensions int = 0
129
+ param embeddingDeploymentSkuName string = ''
127
130
var embedding = {
128
131
modelName : !empty (embeddingModelName ) ? embeddingModelName : 'text-embedding-ada-002'
129
132
deploymentName : !empty (embeddingDeploymentName ) ? embeddingDeploymentName : 'embedding'
130
133
deploymentVersion : !empty (embeddingDeploymentVersion ) ? embeddingDeploymentVersion : '2'
131
134
deploymentCapacity : embeddingDeploymentCapacity != 0 ? embeddingDeploymentCapacity : 30
135
+ deploymentSkuName : !empty (embeddingDeploymentSkuName ) ? embeddingDeploymentSkuName : 'Standard'
132
136
dimensions : embeddingDimensions != 0 ? embeddingDimensions : 1536
133
137
}
134
138
135
139
param gpt4vModelName string = 'gpt-4o'
136
140
param gpt4vDeploymentName string = 'gpt-4o'
137
141
param gpt4vModelVersion string = '2024-05-13'
138
142
param gpt4vDeploymentCapacity int = 10
143
+ param gpt4vDeploymentSkuName string = 'GlobalStandard'
139
144
140
145
param tenantId string = tenant ().tenantId
141
146
param authTenantId string = ''
@@ -453,7 +458,7 @@ var defaultOpenAiDeployments = [
453
458
version : chatGpt .deploymentVersion
454
459
}
455
460
sku : {
456
- name : 'Standard'
461
+ name : chatGpt . deploymentSkuName
457
462
capacity : chatGpt .deploymentCapacity
458
463
}
459
464
}
@@ -465,7 +470,7 @@ var defaultOpenAiDeployments = [
465
470
version : embedding .deploymentVersion
466
471
}
467
472
sku : {
468
- name : 'Standard'
473
+ name : embedding . deploymentSkuName
469
474
capacity : embedding .deploymentCapacity
470
475
}
471
476
}
@@ -483,7 +488,7 @@ var openAiDeployments = concat(
483
488
version : gpt4vModelVersion
484
489
}
485
490
sku : {
486
- name : 'Standard'
491
+ name : gpt4vDeploymentSkuName
487
492
capacity : gpt4vDeploymentCapacity
488
493
}
489
494
}
0 commit comments