You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+61Lines changed: 61 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,6 +159,67 @@ Once you've opened the project in [Codespaces](#github-codespaces), in [Dev Cont
159
159
160
160
You can view the permissions for your account and subscription by going to Azure portal, clicking 'Subscriptions' under 'Navigation' and then choosing your subscription from the list. If you try to search for your subscription and it does not come up, make sure no filters are selected. After selecting your subscription, select 'Access control (IAM)' and you can see the roles that are assigned to your account for this subscription. If you want to see more information about the roles, you can go to the 'Role assignments' tab and search by your account name and then click the role you want to view more information about.
161
161
162
+
## Customizing resource names
163
+
164
+
By default this template will use a default naming convention to prevent naming collisions within Azure.
165
+
To override default naming conventions the following can be set.
166
+
167
+
* `AZURE_ENV_CU_LOCATION` - The name of the Content Understanding Location
168
+
* `AZURE_ENV_SECONDARY_LOCATION` - The name of the Secondary Location
169
+
* `AZURE_ENV_MODEL_DEPLOYMENT_TYPE` - The name of the Model Deployment Type
170
+
* `AZURE_ENV_MODEL_NAME` - The name of the Model Name
171
+
* `AZURE_ENV_MODEL_CAPACITY` - The name of the Model Capacity
172
+
* `AZURE_ENV_EMBEDDING_MODEL_NAME` - The name of the Embedding Model
173
+
* `AZURE_ENV_EMBEDDING_MODEL_CAPACITY` - The name of the Embedding Deployment Capacity
174
+
175
+
To override any of those resource names, run `azd env set <key> <value>` before running `azd up`.
176
+
177
+
## Customizing deployments
178
+
179
+
To customize the deployments, you can set the following environment variables:
180
+
181
+
Change the Content Understanding Location:
182
+
183
+
```shell
184
+
azd env set AZURE_ENV_CU_LOCATION 'West US'
185
+
```
186
+
187
+
Change the Secondary Location:
188
+
189
+
```shell
190
+
azd env set AZURE_ENV_SECONDARY_LOCATION eastus2
191
+
```
192
+
193
+
Change the Model Deployment Type:
194
+
195
+
```shell
196
+
azd env set AZURE_ENV_MODEL_DEPLOYMENT_TYPE GlobalStandard
197
+
```
198
+
199
+
Set the Model Name:
200
+
201
+
```shell
202
+
azd env set AZURE_ENV_MODEL_NAME gpt-4o-mini
203
+
```
204
+
205
+
Change the Model Capacity:
206
+
207
+
```shell
208
+
azd env set AZURE_ENV_MODEL_CAPACITY 100
209
+
```
210
+
211
+
Change the Embedding Model:
212
+
213
+
```shell
214
+
azd env set AZURE_ENV_EMBEDDING_MODEL_NAME text-embedding-ada-002
0 commit comments