Skip to content

Commit c3ce7c9

Browse files
authored
Merge pull request #50 from Azure/feature/regions
chore: react to rate limiting on GlobalStandard
2 parents d9e8c19 + 25be3c1 commit c3ce7c9

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

workshop/dotnet/infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ module storageContribRoleApi 'core/security/role.bicep' = {
340340
}
341341

342342
module dataScientistRole 'core/security/subscription-role.bicep' = {
343-
name: 'data-scientist-role'
343+
name: 'data-scientist-role-${resourceToken}'
344344
params: {
345345
principalId: api.outputs.SERVICE_API_PRINCIPAL_ID
346346
roleDefinitionId: 'f6c7c914-8db3-469d-8ca1-694a8f32e121' // Azure ML Data Scientist

workshop/pre-reqs/infra/main.bicep

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ targetScope = 'subscription'
66
param environmentName string
77

88
@description('Primary location for all resources')
9-
@allowed([ 'centralus', 'eastus2', 'eastasia', 'westus', 'westeurope', 'westus2', 'australiaeast', 'eastus', 'francecentral', 'japaneast', 'nortcentralus', 'swedencentral', 'switzerlandnorth', 'uksouth' ])
9+
// Locations that support gpt-4o
10+
@allowed([ 'australiaeast', 'brazilsouth', 'canadaeast', 'eastus', 'eastus2', 'francecentral', 'germanywestcentral', 'japaneast', 'koreacentral', 'northcentralus', 'norwayeast', 'polandcentral', 'switzerlandnorth', 'southafricanorth','southcentralus', 'southindia', 'spaincentral', 'swedencentral', 'switzerlandnorth', 'uaenorth', 'uksouth', 'westeurope', 'westus', 'westus3' ])
1011
param location string
1112

1213
@description('Tags to apply to the resources')

workshop/pre-reqs/infra/modules/cognitive-services.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ param gptModelDeploymentName string = 'gpt-4o'
1515
@description('Capacity of the GPT model deployment')
1616
param gptModelCapacity int = 1
1717
@description('SKU name for the GPT model deployment')
18-
param gptModelSkuName string = 'GlobalStandard'
18+
param gptModelSkuName string = 'Standard'
1919
@description('Format of the GPT model')
2020
param gptModelFormat string = 'OpenAI'
2121
@description('Version of the GPT model')

0 commit comments

Comments
 (0)