Skip to content

Commit 57ec517

Browse files
added the extra varible and changed the readme doc related to customizing azd parameters
1 parent 2a45cbd commit 57ec517

File tree

3 files changed

+61
-5
lines changed

3 files changed

+61
-5
lines changed

docs/CustomizingAzdParameters.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,23 @@ By default this template will use the environment name as the prefix to prevent
1212
| `AZURE_LOCATION` | string | `<User selects during deployment>` | Location of the Azure resources. Controls where the infrastructure will be deployed. |
1313
| `AZURE_ENV_OPENAI_LOCATION` | string | `<User selects during deployment>` | Specifies the region for OpenAI resource deployment. |
1414
| `AZURE_ENV_MODEL_DEPLOYMENT_TYPE` | string | `GlobalStandard` | Defines the deployment type for the AI model (e.g., Standard, GlobalStandard). |
15-
| `AZURE_ENV_MODEL_NAME` | string | `gpt-4o` | Specifies the name of the GPT model to be deployed. |
16-
| `AZURE_EXISTING_AI_PROJECT_RESOURCE_ID` | string | `<Existing Workspace Id>` | Set this if you want to reuse an AI Foundry Project instead of creating a new one. |
17-
| `AZURE_ENV_MODEL_VERSION` | string | `2024-08-06` | Version of the GPT model to be used for deployment. |
18-
| `AZURE_ENV_MODEL_CAPACITY` | int | `150` | Sets the GPT model capacity. |
19-
| `AZURE_ENV_IMAGETAG` | string | `latest` | Docker image tag used for container deployments. |
15+
| `AZURE_ENV_MODEL_NAME` | string | `gpt-4.1-mini` | Specifies the name of the GPT model to be deployed. |
16+
| `AZURE_ENV_MODEL_VERSION` | string | `2025-04-14` | Version of the GPT model to be used for deployment. |
17+
| `AZURE_ENV_MODEL_CAPACITY` | int | `50` | Sets the GPT model capacity. |
18+
19+
| `AZURE_ENV_MODEL_4_1_DEPLOYMENT_TYPE` | string | `GlobalStandard` | Defines the deployment type for the AI model (e.g., Standard, GlobalStandard). |
20+
| `AZURE_ENV_MODEL_4_1_NAME` | string | `gpt-4.1` | Specifies the name of the GPT model to be deployed. |
21+
| `AZURE_ENV_MODEL_4_1_VERSION` | string | `2025-04-14` | Version of the GPT model to be used for deployment. |
22+
| `AZURE_ENV_MODEL_4_1_CAPACITY` | int | `150` | Sets the GPT model capacity. |
23+
24+
| `AZURE_ENV_REASONING_MODEL_DEPLOYMENT_TYPE` | string | `GlobalStandard` | Defines the deployment type for the AI model (e.g., Standard, GlobalStandard). |
25+
| `AZURE_ENV_REASONING_MODEL_NAME` | string | `o4-mini` | Specifies the name of the reasoning GPT model to be deployed. |
26+
| `AZURE_ENV_REASONING_MODEL_VERSION` | string | `2025-04-16` | Version of the reasoning GPT model to be used for deployment. |
27+
| `AZURE_ENV_REASONING_MODEL_CAPACITY` | int | `50` | Sets the reasoning GPT model capacity. |
28+
29+
| `AZURE_ENV_IMAGETAG` | string | `latest_v3` | Docker image tag used for container deployments. |
2030
| `AZURE_ENV_ENABLE_TELEMETRY` | bool | `true` | Enables telemetry for monitoring and diagnostics. |
31+
| `AZURE_EXISTING_AI_PROJECT_RESOURCE_ID` | string | `<Existing Workspace Id>` | Set this if you want to reuse an AI Foundry Project instead of creating a new one. |
2132
| `AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID` | string | Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md) | Set this if you want to reuse an existing Log Analytics Workspace instead of creating a new one. |
2233
| `AZURE_ENV_VM_ADMIN_USERNAME` | string | `take(newGuid(), 20)` | The administrator username for the virtual machine. |
2334
| `AZURE_ENV_VM_ADMIN_PASSWORD` | string | `newGuid()` | The administrator password for the virtual machine. |

infra/main.parameters.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,30 @@
2323
"gptModelCapacity": {
2424
"value": "${AZURE_ENV_MODEL_CAPACITY}"
2525
},
26+
"gpt4_1ModelDeploymentType": {
27+
"value": "${AZURE_ENV_MODEL_4_1_DEPLOYMENT_TYPE}"
28+
},
29+
"gpt4_1ModelName": {
30+
"value": "${AZURE_ENV_MODEL_4_1_NAME}"
31+
},
32+
"gpt4_1ModelVersion": {
33+
"value": "${AZURE_ENV_MODEL_4_1_VERSION}"
34+
},
2635
"gpt4_1ModelCapacity": {
2736
"value": "${AZURE_ENV_MODEL_4_1_CAPACITY}"
2837
},
38+
"gptReasoningModelDeploymentType": {
39+
"value": "${AZURE_ENV_REASONING_MODEL_DEPLOYMENT_TYPE}"
40+
},
41+
"gptReasoningModelName": {
42+
"value": "${AZURE_ENV_REASONING_MODEL_NAME}"
43+
},
44+
"gptReasoningModelVersion": {
45+
"value": "${AZURE_ENV_REASONING_MODEL_VERSION}"
46+
},
47+
"gptReasoningModelCapacity": {
48+
"value": "${AZURE_ENV_REASONING_MODEL_CAPACITY}"
49+
},
2950
"backendContainerImageTag": {
3051
"value": "${AZURE_ENV_IMAGE_TAG=latest_v3}"
3152
},

infra/main.waf.parameters.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,30 @@
2323
"gptModelCapacity": {
2424
"value": "${AZURE_ENV_MODEL_CAPACITY}"
2525
},
26+
"gpt4_1ModelDeploymentType": {
27+
"value": "${AZURE_ENV_MODEL_4_1_DEPLOYMENT_TYPE}"
28+
},
29+
"gpt4_1ModelName": {
30+
"value": "${AZURE_ENV_MODEL_4_1_NAME}"
31+
},
32+
"gpt4_1ModelVersion": {
33+
"value": "${AZURE_ENV_MODEL_4_1_VERSION}"
34+
},
35+
"gpt4_1ModelCapacity": {
36+
"value": "${AZURE_ENV_MODEL_4_1_CAPACITY}"
37+
},
38+
"gptReasoningModelDeploymentType": {
39+
"value": "${AZURE_ENV_REASONING_MODEL_DEPLOYMENT_TYPE}"
40+
},
41+
"gptReasoningModelName": {
42+
"value": "${AZURE_ENV_REASONING_MODEL_NAME}"
43+
},
44+
"gptReasoningModelVersion": {
45+
"value": "${AZURE_ENV_REASONING_MODEL_VERSION}"
46+
},
47+
"gptReasoningModelCapacity": {
48+
"value": "${AZURE_ENV_REASONING_MODEL_CAPACITY}"
49+
},
2650
"backendContainerImageTag": {
2751
"value": "${AZURE_ENV_IMAGE_TAG=latest_v3}"
2852
},

0 commit comments

Comments
 (0)