File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -5,22 +5,26 @@ targetScope = 'subscription'
5
5
@description ('Name of the the environment which is used to generate a short unique hash used in all resources.' )
6
6
param environmentName string
7
7
8
- @minLength (1 )
9
8
@description ('Location for all resources' )
10
- // Look for desired models on the availability table:
11
- // Agents must be supported in the region
9
+ // Based on the model, creating an agent is not supported in all regions.
10
+ // The combination of allowed and usageName below is for AZD to check AI model gpt-4o-mini quota only for the allowed regions for creating an agent.
11
+ // If using different models, update the SKU,capacity depending on the model you use.
12
12
// https://learn.microsoft.com/azure/ai-services/agents/concepts/model-region-support
13
13
@allowed ([
14
14
'eastus'
15
15
'eastus2'
16
16
'swedencentral'
17
- 'switzerlandnorth'
18
17
'westus'
19
18
'westus3'
20
19
])
21
20
@metadata ({
22
21
azd : {
23
22
type : 'location'
23
+ // quota-validation for ai models: gpt-4o-mini & text-embedding-3-small
24
+ usageName : [
25
+ 'OpenAI.GlobalStandard.gpt-4o-mini,30'
26
+ 'OpenAI.GlobalStandard.text-embedding-3-small,30'
27
+ ]
24
28
}
25
29
})
26
30
param location string
You can’t perform that action at this time.
0 commit comments