Skip to content

Commit b8733c8

Browse files
Merge pull request #134 from microsoft/psl-missing-param
docs: Added missing param in CustomizingAzdParameter.md file
2 parents 4c4da02 + b0d3f5e commit b8733c8

File tree

3 files changed

+21
-10
lines changed

3 files changed

+21
-10
lines changed

docs/CustomizingAzdParameters.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ By default this template will use the environment name as the prefix to prevent
99
| Name | Type | Default Value | Purpose |
1010
| -------------------------------------- | ------- | ---------------- | ---------------------------------------------------------------------------------------------------- |
1111
| `AZURE_ENV_NAME` | string | `azdtemp` | Used as a prefix for all resource names to ensure uniqueness across environments. |
12-
| `AZURE_LOCATION` | string | `japaneast` | Location of the Azure resources. Controls where the infrastructure will be deployed. |
12+
| `AZURE_LOCATION` | string | `eastus2` | Location of the Azure resources. Controls where the infrastructure will be deployed. |
13+
| `AZURE_AISERVICE_LOCATION` | string | `japaneast` | Set the Azure AI Service Location. |
1314
| `AZURE_ENV_MODEL_DEPLOYMENT_TYPE` | string | `GlobalStandard` | Change the Model Deployment Type (allowed values: Standard, GlobalStandard). |
1415
| `AZURE_ENV_MODEL_NAME` | string | `gpt-4o` | Set the Model Name (allowed values: gpt-4o). |
1516
| `AZURE_ENV_MODEL_VERSION` | string | `2024-08-06` | Set the Azure model version (allowed values: 2024-08-06) |
@@ -36,4 +37,4 @@ azd env set AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID '/subscriptions/<subscription-i
3637

3738
```bash
3839
azd env set AZURE_LOCATION westus2
39-
```
40+
```

docs/DeploymentGuide.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,18 @@ Check the [Azure Products by Region](https://azure.microsoft.com/en-us/explore/g
3636

3737
When you start the deployment, most parameters will have **default values**, but you can update the following settings by following the steps [here](../docs/CustomizingAzdParameters.md):
3838

39-
| **Setting** | **Description** | **Default value** |
40-
|------------|----------------| ------------|
41-
| **Azure Region** | The region where resources will be created. | East US|
42-
| **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 |
43-
| **AI Location** | Location for all AI services resources. This location can be different from the resource group location | None |
44-
| **Capacity** | Configure capacity for **gpt-4o**. | 5k |
45-
| **Existing Log analytics workspace** | To reuse the existing Log analytics workspace Id. | |
39+
| **Setting** | **Description** | **Default value** |
40+
|----------------------------------|------------------------------------------------------------------------------------------------------|----------------------------|
41+
| **Azure Region** | The region where resources will be created. | East US |
42+
| **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. | azdtemp |
43+
| **AI Location** | Location for all AI services resources. This location can be different from the resource group location. | japaneast |
44+
| **Capacity** | Configure capacity for **gpt-4o**. | 200 |
45+
| **Model Deployment Type** | Change the Model Deployment Type (allowed values: Standard, GlobalStandard). | GlobalStandard |
46+
| **Model Name** | Set the Model Name (allowed values: gpt-4o). | gpt-4o |
47+
| **Model Version** | Set the Azure model version (allowed values: 2024-08-06). | 2024-08-06 |
48+
| **Image Tag** | Set the Image tag (allowed values: latest, dev, hotfix). | latest |
49+
| **Existing Log analytics workspace** | To reuse the existing Log analytics workspace Id. | `<Existing Workspace Id>` |
50+
4651

4752
This accelerator can be configured to use authentication.
4853

src/backend/api/api_routes.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ async def download_files(batch_id: str):
166166
raise HTTPException(
167167
status_code=404, detail=f"Error creating ZIP file: {str(e)}"
168168
) from e
169+
170+
169171
@router.websocket("/socket/{batch_id}")
170172
async def batch_status_updates(
171173
websocket: WebSocket, batch_id: str
@@ -363,6 +365,8 @@ async def get_batch_status(request: Request, batch_id: str):
363365
raise HTTPException(status_code=403, detail="Incorrect user_id") from e
364366
else:
365367
raise HTTPException(status_code=500, detail="Internal server error") from e
368+
369+
366370
@router.get("/batch-summary/{batch_id}")
367371
async def get_batch_summary(request: Request, batch_id: str):
368372
"""Retrieve batch summary for a given batch ID."""
@@ -730,6 +734,7 @@ async def delete_file_details(request: Request, file_id: str):
730734
logger.error("Failed to delete file from database", error=str(e))
731735
raise HTTPException(status_code=500, detail="Database connection error") from e
732736

737+
733738
@router.delete("/delete_all")
734739
async def delete_all_details(request: Request):
735740
"""
@@ -857,4 +862,4 @@ async def list_batch_history(request: Request, offset: int = 0, limit: Optional[
857862
logger.error("Error fetching batch history", error=str(e))
858863
raise HTTPException(
859864
status_code=500, detail="Error retrieving batch history"
860-
) from e
865+
) from e

0 commit comments

Comments
 (0)