Skip to content

Commit 8d22593

Browse files
committed
Merge branch 'features/found-main' of https://github.com/microsoft/Modernize-your-code-solution-accelerator into features/found-main-refactor
2 parents b528bf7 + 7553c48 commit 8d22593

File tree

5 files changed

+8
-43
lines changed

5 files changed

+8
-43
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ When you start the deployment, most parameters will have **default values**, but
107107
| **Azure Region** | The region where resources will be created. | East US|
108108
| **Resource Prefix** | Prefix for all resources created by this template. This prefix will be used to create unique names for all resources. The prefix must be unique within the resource group. | None |
109109
| **AI Location** | Location for all AI services resources. This location can be different from the resource group location | None |
110-
| **Capacity** | Configure capacity for **GPT models**. | 5k |
110+
| **Capacity** | Configure capacity for **gpt-4o**. | 5k |
111111

112112
### [Optional] Quota Recommendations
113113
By default, the **GPT model capacity** in deployment is set to **5k tokens**.
114-
> **We recommend increasing the capacity to 30k tokens for optimal performance.**
114+
> **We recommend increasing the capacity to 200k tokens for optimal performance.**
115115
116116
To adjust quota settings, follow these [steps](./docs/AzureGPTQuotaSettings.md)
117117

@@ -262,7 +262,7 @@ You can try the [Azure pricing calculator](https://azure.microsoft.com/en-us/pri
262262
* Azure AI Foundry: Free tier. [Pricing](https://azure.microsoft.com/pricing/details/ai-studio/)
263263
* Azure Storage Account: Standard tier, LRS. Pricing is based on storage and operations. [Pricing](https://azure.microsoft.com/pricing/details/storage/blobs/)
264264
* Azure Key Vault: Standard tier. Pricing is based on the number of operations. [Pricing](https://azure.microsoft.com/pricing/details/key-vault/)
265-
* Azure AI Services: S0 tier, defaults to gpt-4o-mini and text-embedding-ada-002 models. Pricing is based on token count. [Pricing](https://azure.microsoft.com/pricing/details/cognitive-services/)
265+
* Azure AI Services: S0 tier, defaults to gpt-4o-mini. Pricing is based on token count. [Pricing](https://azure.microsoft.com/pricing/details/cognitive-services/)
266266
* Azure Container App: Consumption tier with 0.5 CPU, 1GiB memory/storage. Pricing is based on resource allocation, and each month allows for a certain amount of free usage. [Pricing](https://azure.microsoft.com/pricing/details/container-apps/)
267267
* Azure Container Registry: Basic tier. [Pricing](https://azure.microsoft.com/pricing/details/container-registry/)
268268
* Log analytics: Pay-as-you-go tier. Costs based on data ingested. [Pricing](https://azure.microsoft.com/pricing/details/monitor/)

docs/CustomizingAzdParameters.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,16 @@ By default this template will use the environment name as the prefix to prevent
33

44
> To override any of the parameters, run `azd env set <key> <value>` before running `azd up`. On the first azd command, it will prompt you for the environment name. Be sure to choose 3-20 charaters alphanumeric unique name.
55
6-
7-
Change the Secondary Location (example: eastus2, westus2, etc.)
8-
9-
```shell
10-
azd env set AZURE_ENV_SECONDARY_LOCATION eastus2
11-
```
12-
136
Change the Model Deployment Type (allowed values: Standard, GlobalStandard)
147

158
```shell
169
azd env set AZURE_ENV_MODEL_DEPLOYMENT_TYPE Standard
1710
```
1811

19-
Set the Model Name (allowed values: gpt-4, gpt-4o)
12+
Set the Model Name (allowed values: gpt-4)
2013

2114
```shell
22-
azd env set AZURE_ENV_MODEL_NAME gpt-4o
15+
azd env set AZURE_ENV_MODEL_NAME gpt-4
2316
```
2417

2518
Change the Model Capacity (choose a number based on available GPT model capacity in your subscription)
@@ -28,13 +21,3 @@ Change the Model Capacity (choose a number based on available GPT model capacity
2821
azd env set AZURE_ENV_MODEL_CAPACITY 30
2922
```
3023

31-
Change the Embedding Model
32-
33-
```shell
34-
azd env set AZURE_ENV_EMBEDDING_MODEL_NAME text-embedding-ada-002
35-
```
36-
37-
Change the Embedding Deployment Capacity (choose a number based on available embedding model capacity in your subscription)
38-
39-
```shell
40-
azd env set AZURE_ENV_EMBEDDING_MODEL_CAPACITY 80

docs/EXAMPLE-CustomizingAzdParameters.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ Change the Content Understanding Location (allowed values: Sweden Central, Austr
1111
azd env set AZURE_ENV_CU_LOCATION 'swedencentral'
1212
```
1313

14-
Change the Secondary Location (example: eastus2, westus2, etc.)
15-
16-
```shell
17-
azd env set AZURE_ENV_SECONDARY_LOCATION eastus2
18-
```
19-
2014
Change the Model Deployment Type (allowed values: Standard, GlobalStandard)
2115

2216
```shell
@@ -34,15 +28,3 @@ Change the Model Capacity (choose a number based on available GPT model capacity
3428
```shell
3529
azd env set AZURE_ENV_MODEL_CAPACITY 30
3630
```
37-
38-
Change the Embedding Model
39-
40-
```shell
41-
azd env set AZURE_ENV_EMBEDDING_MODEL_NAME text-embedding-ada-002
42-
```
43-
44-
Change the Embedding Deployment Capacity (choose a number based on available embedding model capacity in your subscription)
45-
46-
```shell
47-
azd env set AZURE_ENV_EMBEDDING_MODEL_CAPACITY 80
48-
```

docs/quota_check.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Before deploying the accelerator, **ensure sufficient quota availability** for t
44

55
### 📌 Default Models & Capacities:
66
```
7-
gpt-4o:30, text-embedding-ada-002:80, gpt-4:30
7+
gpt-4o:30, gpt-4:30
88
```
99
### 📌 Default Regions:
1010
```
@@ -27,7 +27,7 @@ eastus, uksouth, eastus2, northcentralus, swedencentral, westus, westus2, southc
2727
```
2828
✔️ Multiple models can be passed, separated by commas:
2929
```
30-
./quota_check_params.sh gpt-4o:30,text-embedding-ada-002:80
30+
./quota_check_params.sh gpt-4o:30,gpt-4:80
3131
```
3232
✔️ Passing Both models and regions:
3333
```

scripts/quota_check_params.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Default Models and Capacities (Comma-separated in "model:capacity" format)
4-
DEFAULT_MODEL_CAPACITY="gpt-4o:30,text-embedding-ada-002:80,gpt-4:30"
4+
DEFAULT_MODEL_CAPACITY="gpt-4o:30,gpt-4:30"
55

66
# Convert the comma-separated string into an array
77
IFS=',' read -r -a MODEL_CAPACITY_PAIRS <<< "$DEFAULT_MODEL_CAPACITY"

0 commit comments

Comments
 (0)