Skip to content

Commit b87f041

Browse files
authored
tweaks
1 parent 458b03f commit b87f041

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ The following steps are required to deploy the infrastructure from the command l
170170
:clock8: *This might take about 35 minutes.*
171171

172172
```bash
173-
RESOURCE_GROUP=rg-chat-baseline-${LOCATION}
173+
RESOURCE_GROUP=rg-chat-baseline-${BASE_NAME}
174174
az group create -l $LOCATION -n $RESOURCE_GROUP
175175
176176
PRINCIPAL_ID=$(az ad signed-in-user show --query id -o tsv)
@@ -195,26 +195,25 @@ The AI agent definition would likely be deployed from your application's pipelin
195195
| :computer: | Unless otherwise noted, the following steps are performed from the jump box or from your VPN-connected workstation. The instructions are written as if you are using the provided Windows jump box.|
196196
| :--------: | :------------------------- |
197197

198-
1. Open a PowerShell terminal. Log in and select your target subscription.
198+
1. Open PowerShell from the Terminal app. Log in and select your target subscription.
199199

200200
```powershell
201201
az login
202202
az account set --subscription xxxxx
203203
```
204204

205-
1. Set the base name and location to the same value it was when you deployed the resources.
205+
1. Set the base name to the same value it was when you deployed the resources.
206206

207207
```powershell
208208
$BASE_NAME="<exact same value used before>"
209-
$LOCATION="eastus2"
210209
```
211210

212211
1. Generate some variables to set context within your jump box.
213212

214213
*The following variables align with the defaults in this deployment. Update them if you customized anything.*
215214

216215
```powershell
217-
$RESOURCE_GROUP="rg-chat-baseline-${LOCATION}"
216+
$RESOURCE_GROUP="rg-chat-baseline-${BASE_NAME}"
218217
$AI_FOUNDRY_NAME="aif${BASE_NAME}"
219218
$BING_CONNECTION_NAME="bingaiagent"
220219
$BING_CONNECTION_ID="$(az cognitiveservices account show -n $AI_FOUNDRY_NAME -g $RESOURCE_GROUP --query 'id' --out tsv)/projects/projchat/connections/${BING_CONNECTION_NAME}"
@@ -295,13 +294,14 @@ For this deployment guide, you'll continue using your jump box to simulate part
295294
1. Update the app configuration to use the agent you deployed.
296295

297296
```powershell
298-
# TODO -- Fill this out once the code is no longer creating the agent.
297+
# TODO Capture and reuse the ID
298+
az webapp config appsettings set -n app-${BASE_NAME} -g $RESOURCE_GROUP --settings AIAgentId=<ID value from the agent creation step>
299299
```
300300

301-
1. Restart the web app to launch the site.
301+
1. Restart the web app to load the site code and its updated configuation.
302302

303303
```powershell
304-
az webapp restart --name "app-${BASE_NAME}" --resource-group "${RESOURCE_GROUP}"
304+
az webapp restart --name "app-${BASE_NAME}" --resource-group $RESOURCE_GROUP
305305
```
306306

307307
### 5. Try it out! Test the deployed application that calls into the Azure AI Agent service

infra-as-code/bicep/main.bicep

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ var varCuaid = 'a52aa8a8-44a8-46e9-b7a5-189ab3a64409'
4141

4242
// ---- New resources ----
4343

44+
// TODO: Add recommended Azure Policy assignments to RG prior to deploying resources.
45+
4446
@description('This is the log sink for all Azure Diagnostics in the workload.')
4547
resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2025-02-01' = {
4648
name: 'log-workload'

infra-as-code/bicep/web-app.bicep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ resource webApp 'Microsoft.Web/sites@2024-04-01' = {
200200
linuxFxVersion: 'DOTNETCORE|8.0'
201201
netFrameworkVersion: null
202202
windowsFxVersion: null
203-
minTlsCipherSuite: 'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256'
204203
}
205204
}
206205
dependsOn: [

0 commit comments

Comments
 (0)