Skip to content

Commit 9afbefa

Browse files
authored
Reduce list to only the available ones (#2459)
1 parent c5bfb22 commit 9afbefa

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

infra/main.bicep

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,19 +74,16 @@ param chatHistoryDatabaseName string = 'chat-database'
7474
param chatHistoryContainerName string = 'chat-history-v2'
7575
param chatHistoryVersion string = 'cosmosdb-v2'
7676

77-
// https://learn.microsoft.com/azure/ai-services/openai/concepts/models?tabs=python-secure%2Cstandard%2Cstandard-chat-completions#standard-deployment-model-availability
77+
// https://learn.microsoft.com/azure/ai-services/openai/concepts/models?tabs=standard%2Cstandard-chat-completions#models-by-deployment-type
7878
@description('Location for the OpenAI resource group')
7979
@allowed([
80-
'canadaeast'
8180
'eastus'
8281
'eastus2'
83-
'francecentral'
84-
'switzerlandnorth'
85-
'uksouth'
86-
'japaneast'
8782
'northcentralus'
88-
'australiaeast'
83+
'southcentralus'
8984
'swedencentral'
85+
'westus'
86+
'westus3'
9087
])
9188
@metadata({
9289
azd: {
@@ -873,7 +870,8 @@ module ai 'core/ai/ai-environment.bicep' = if (useAiProject) {
873870
name: 'ai'
874871
scope: resourceGroup
875872
params: {
876-
location: openAiLocation
873+
// Limited region support: https://learn.microsoft.com/azure/ai-foundry/how-to/develop/evaluate-sdk#region-support
874+
location: 'eastus2'
877875
tags: tags
878876
hubName: 'aihub-${resourceToken}'
879877
projectName: 'aiproj-${resourceToken}'

0 commit comments

Comments
 (0)