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
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ either by deleting the resource group in the Portal or running `azd down`.
113
113
|[Microsoft Foundry](https://learn.microsoft.com/en-us/azure/ai-foundry)| Used to orchestrate and build AI workflows that combine Azure AI services. | Free Tier |[Pricing](https://azure.microsoft.com/pricing/details/ai-studio/)|
114
114
|[Foundry IQ](https://learn.microsoft.com/en-us/azure/search/search-what-is-azure-search)| Powers vector-based semantic search for retrieving indexed conversation data. | Standard S1; costs scale with document count and replica/partition settings. |[Pricing](https://azure.microsoft.com/pricing/details/search/)|
115
115
|[Azure Storage Account](https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview)| Stores transcripts, intermediate outputs, and application assets. | Standard LRS; usage-based cost by storage/operations. |[Pricing](https://azure.microsoft.com/pricing/details/storage/blobs/)|
116
-
|[Azure AI Services (OpenAI)](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/overview)| Enables language understanding, summarization, entity extraction, and chat capabilities using GPT models. | S0 Tier; pricing depends on token volume and model used (e.g., GPT-4o-mini). |[Pricing](https://azure.microsoft.com/pricing/details/cognitive-services/)|
116
+
|[Azure AI Services (OpenAI)](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/overview)| Enables language understanding, summarization, entity extraction, and chat capabilities using GPT models. | S0 Tier; pricing depends on token volume and model used (e.g., GPT-5.2). |[Pricing](https://azure.microsoft.com/pricing/details/cognitive-services/)|
117
117
|[Azure App Service](https://learn.microsoft.com/en-us/azure/app-service/overview)| Hosts the front-end web application and backend API as Linux web apps. | Basic B3 (non-WAF) or Premium P1v3 (WAF); fixed cost based on plan tier. |[Pricing](https://azure.microsoft.com/pricing/details/app-service/linux/)|
118
118
|[Azure Monitor / Log Analytics](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/log-analytics-overview)| Collects and analyzes telemetry and logs from services and containers. | Pay-as-you-go; charges based on data ingestion volume. |[Pricing](https://azure.microsoft.com/pricing/details/monitor/)|
119
119
|[Azure SQL Database](https://learn.microsoft.com/en-us/azure/azure-sql/database/sql-database-paas-overview)| Stores structured data including insights, metadata, and indexed results. | General Purpose Tier; can be provisioned or serverless. Fixed cost if provisioned. |[Pricing](https://azure.microsoft.com/pricing/details/azure-sql-database/single/)|
Write-Host "`nRun the following command in your Bash terminal to build the backend and frontend container images, push them to the provisioned Azure Container Registry, and update the App Services to use them:"
Write-Host "`nRun the following command in your Bash terminal. It will grant the necessary permissions between resources and your user account, and also process and load the sample data into the application."
@@ -31,6 +34,9 @@ hooks:
31
34
echo "Web app URL: "
32
35
echo $WEB_APP_URL
33
36
37
+
echo "\nRun the following command in your Bash terminal to build the backend and frontend container images, push them to the provisioned Azure Container Registry, and update the App Services to use them:"
Copy file name to clipboardExpand all lines: documents/CustomizingAzdParameters.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,21 +12,19 @@ By default this template will use the environment name as the prefix to prevent
12
12
|`AZURE_LOCATION`| string |``| Sets the Azure region for resource deployment. |
13
13
|`AZURE_ENV_NAME`| string |`env_name`| Sets the environment name prefix for all Azure resources. |
14
14
|`AZURE_ENV_AI_SERVICE_LOCATION`| string |`eastus2`| Specifies the Azure AI service location. |
15
-
|`AZURE_ENV_SECONDARY_LOCATION`| string |`eastus2`| Specifies a secondary Azure region. |
16
-
|`AZURE_ENV_MODEL_DEPLOYMENT_TYPE`| string |`GlobalStandard`| Defines the model deployment type (allowed: `Standard`, `GlobalStandard`). **Note:** The `azd` location-picker filters regions using the `usageName` metadata on `aiServiceLocation` in `infra/main.bicep` (currently `OpenAI.GlobalStandard.gpt-4o-mini,150`). If you set this to `Standard`, also edit that metadata to `OpenAI.Standard.gpt-4o-mini,150` so the picker shows the correct subset of regions, since `gpt-4o-mini` Standard (regional) availability differs from Global Standard. |
17
-
|`AZURE_ENV_GPT_MODEL_NAME`| string |`gpt-4o-mini`| Specifies the GPT model name (e.g., `gpt-4o-mini`, `gpt-4.1`, etc.). |
18
-
|`AZURE_ENV_GPT_MODEL_VERSION`| string |`2024-07-18`| Sets the Azure model version (e.g., `2024-07-18`, etc.). |
15
+
|`AZURE_ENV_SECONDARY_LOCATION`| string |`australiaeast`| Specifies a secondary Azure region. |
16
+
|`AZURE_ENV_MODEL_DEPLOYMENT_TYPE`| string |`GlobalStandard`| Defines the model deployment type (allowed: `Standard`, `GlobalStandard`). **Note:** The `azd` location-picker filters regions using the `usageName` metadata on `aiServiceLocation` in `infra/main.bicep` (currently `OpenAI.GlobalStandard.gpt-5.2,150`). If you set this to `Standard`, also edit that metadata to `OpenAI.Standard.gpt-5.2,150` so the picker shows the correct subset of regions, since `gpt-5.2` Standard (regional) availability differs from Global Standard. |
17
+
|`AZURE_ENV_GPT_MODEL_NAME`| string |`gpt-5.2`| Specifies the GPT model name (e.g., `gpt-5.2`, `gpt-4.1`, etc.). |
18
+
|`AZURE_ENV_GPT_MODEL_VERSION`| string |`2025-12-11`| Sets the Azure model version (e.g., `2025-12-11`, etc.). |
19
19
|`AZURE_ENV_GPT_MODEL_CAPACITY`| integer |`30`| Sets the GPT model capacity. |
20
20
|`AZURE_ENV_EMBEDDING_MODEL_NAME`| string |`text-embedding-3-small`| Sets the name of the embedding model to use. |
21
-
|`AZURE_ENV_IMAGE_TAG`| string |`latest_afv2`| Sets the image tag (`latest_afv2`, `dev`, `hotfix`, etc.). |
21
+
|`AZURE_ENV_IMAGE_TAG`| string |`latest`| Sets the image tag (`latest`, `dev`, `hotfix`, etc.). |
22
22
|`AZURE_ENV_EMBEDDING_DEPLOYMENT_CAPACITY`| integer |`80`| Sets the capacity for the embedding model deployment. |
23
23
|`AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID`| string | Guide to get your [Existing Workspace ID](/documents/re-use-log-analytics.md)| Reuses an existing Log Analytics Workspace instead of creating a new one. |
24
-
|`USE_LOCAL_BUILD`| string |`false`| Indicates whether to use a local container build for deployment. |
25
24
|`AZURE_EXISTING_AIPROJECT_RESOURCE_ID`| string |`<Existing AI Project resource Id>`| Reuses an existing AIFoundry and AIFoundryProject instead of creating a new one. |
26
25
|`AZURE_ENV_VM_ADMIN_USERNAME`| string |`take(newGuid(), 20)`| The administrator username for the virtual machine. |
27
26
|`AZURE_ENV_VM_ADMIN_PASSWORD`| string |`newGuid()`| The administrator password for the virtual machine. |
28
27
|`AZURE_ENV_VM_SIZE`| string |`Standard_D2s_v5`| The size/SKU of the Jumpbox Virtual Machine (e.g., `Standard_D2s_v5`, `Standard_DS2_v2`). |
29
-
|`AZURE_ENV_CONTAINER_REGISTRY_ENDPOINT`| string |`<Container Registry Endpoint>`| The hostname/endpoint for the container registry used by both backend and frontend containers. |
Copy file name to clipboardExpand all lines: documents/DeploymentGuide.md
+33-3Lines changed: 33 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -289,7 +289,7 @@ azd up
289
289
**During deployment, you'll be prompted for:**
290
290
1. **Environment name** (e.g., "ckmapp") - Must be 3-16 characters long, alphanumeric only
291
291
2. **Azure subscription** selection
292
-
3. **Microsoft Foundry deployment region** - Select a region with available gpt-4o model quota for AI operations
292
+
3. **Microsoft Foundry deployment region** - Select a region with available gpt-5.2 model quota for AI operations
293
293
4. **Primary location** - Select the region where your infrastructure resources will be deployed
294
294
5. **Resource group** selection (create new or use existing)
295
295
6. **Use case** selection:
@@ -312,9 +312,39 @@ After successful deployment:
312
312
4. Click on the App Service to open its overview page
313
313
5. Copy the **Default domain** URL (e.g., `app-abc123def.azurewebsites.net`)
314
314
315
-
⚠️ **Important:** Complete the following steps to process sample data and configure authentication before accessing the application.
315
+
⚠️ **Important:** Complete the following steps to build the application container images, process sample data, and configure authentication before accessing the application.
316
316
317
-
### 4.4 Process Sample Data
317
+
### 4.4 Build and Push Container Images
318
+
319
+
This solution provisions a dedicated **Azure Container Registry (ACR)** in your resource group. During provisioning, the backend and frontend App Services start with a temporary *hello-world* placeholder image. Run the following script to build the backend (`km-api`) and frontend (`km-app`) images, push them to your ACR, and update the App Services to run them.
320
+
321
+
**Run the build and push script:**
322
+
323
+
The `azd up` deployment output includes a ready-to-use bash script command. Look for the script in the deployment output and run it:
324
+
325
+
```bash
326
+
bash ./infra/scripts/build_and_push_images.sh
327
+
```
328
+
329
+
The images are **built remotely in ACR** using `az acr build`, so no local Docker installation is required.
330
+
331
+
**If you don't have `azd env` configured**, pass the resource group name so the script can resolve values from the deployment outputs:
- Builds the backend image from [src/api/ApiApp.Dockerfile](../src/api/ApiApp.Dockerfile)
339
+
- Builds the frontend image from [src/App/WebApp.Dockerfile](../src/App/WebApp.Dockerfile)
340
+
- Pushes both images to the provisioned Azure Container Registry
341
+
- Updates the backend and frontend App Services to run the new images (pulled via managed identity) and restarts them
342
+
343
+
>**Note:** For Production (WAF) deployments, ACR public network access is disabled. The script temporarily enables it to build/push the images and restores the original setting when it finishes.
344
+
345
+
**Expected Processing Time:** 5-10 minutes depending on network speed.
346
+
347
+
### 4.5 Process Sample Data
318
348
319
349
After the infrastructure deployment completes, follow these steps to process and load the sample data:
Copy file name to clipboardExpand all lines: documents/re-use-foundry-project.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ To configure your environment to use an existing Microsoft Foundry Project, foll
5
5
6
6
> **⚠️ Region requirement**
7
7
>
8
-
> The existing Foundry project must reside in a region that supports **both** the GPT model deployed by this accelerator (default `gpt-4o-mini` with `GlobalStandard` deployment type) **and** Azure AI Content Understanding (GA).<br>
8
+
> The existing Foundry project must reside in a region that supports **both** the GPT model deployed by this accelerator (default `gpt-5.2` with `GlobalStandard` deployment type) **and** Azure AI Content Understanding (GA).<br>
0 commit comments