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
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ Follow these instructions to deploy this example to your Azure subscription, try
47
47
48
48
- An [Azure subscription](https://azure.microsoft.com/free/).
49
49
50
-
- The subscription must have the following resource providers [registered](https://learn.microsoft.com/azure/azure-resource-manager/management/resource-providers-and-types#register-resource-provider)
50
+
- The subscription must have the following resource providers [registered](https://learn.microsoft.com/azure/azure-resource-manager/management/resource-providers-and-types#register-resource-provider).
51
51
52
52
-`Microsoft.AlertsManagement`
53
53
-`Microsoft.CognitiveServices`
@@ -59,7 +59,7 @@ Follow these instructions to deploy this example to your Azure subscription, try
59
59
-`Microsoft.OperationalInsights`
60
60
-`Microsoft.Storage`
61
61
62
-
- The subscription selected must have the following quota available in the location you'll select to deploy this implementation:
62
+
- The subscription selected must have the following quota available in the location you'll select to deploy this implementation.
63
63
64
64
- Azure OpenAI: Standard, GPT-35-Turbo, 25K TPM
65
65
- Storage Accounts: 1
@@ -111,7 +111,7 @@ The following steps are required to deploy the infrastructure from the command l
111
111
RESOURCE_GROUP=rg-chat-basic-${LOCATION}
112
112
az group create -l $LOCATION -n $RESOURCE_GROUP
113
113
114
-
PRINCIPAL_ID=$(az ad signed-in-user show --query id --output tsv)
114
+
PRINCIPAL_ID=$(az ad signed-in-user show --query id -o tsv)
115
115
116
116
# This takes about 10 minutes to run.
117
117
az deployment group create -f ./infra-as-code/bicep/main.bicep \
@@ -196,8 +196,8 @@ Here you'll take your tested flow and deploy it to a managed online endpoint.
196
196
197
197
1. Set the following Advanced settings, and click **Next**.
198
198
199
-
-**Deployment tags**: You can leave blank
200
-
-**Environment**: Use environment of current flow definition
199
+
-**Deployment tags**: You can leave blank.
200
+
-**Environment**: Use environment of current flow definition.
201
201
-**Application Insights diagnostics**: Enabled
202
202
203
203
1. Ensure the Output & connections settings are still set to the same connection name and deployment name as configured in the Prompt flow, and click **Next**.
@@ -232,19 +232,19 @@ Workloads build chat functionality into an application. Those interfaces usually
232
232
```bash
233
233
APPSERVICE_NAME=app-$BASE_NAME
234
234
235
-
az webapp deploy --resource-group$RESOURCE_GROUP --name$APPSERVICE_NAME --type zip --src-url https://raw.githubusercontent.com/Azure-Samples/openai-end-to-end-basic/main/website/chatui.zip
235
+
az webapp deploy -g$RESOURCE_GROUP -n$APPSERVICE_NAME --type zip --src-url https://raw.githubusercontent.com/Azure-Samples/openai-end-to-end-basic/main/website/chatui.zip
236
236
```
237
237
238
238
> Sometimes the prior deployment will fail with a `GatewayTimeout`. If you receive that error, you're safe to simply execute the command again.
239
239
240
240
## :checkered_flag: Try it out. Test the deployed application.
241
241
242
-
After the deployment is complete, you can try the deployed application by navigating to the Web App's URL in a web browser. The URL is https:\//BASE_NAME.azurewebapps.net.
242
+
After the deployment is complete, you can try the deployed application by navigating to the Web App's URL in a web browser.
243
243
244
-
You can also execute the following from your workstation. This command usually does not work from Azure Cloud Shell.
244
+
You can also execute the following from your workstation. Unfortunately, this command does not reliably work from Azure Cloud Shell.
245
245
246
246
```bash
247
-
az webapp browse --resource-group$RESOURCE_GROUP --name$APPSERVICE_NAME
247
+
az webapp browse -g$RESOURCE_GROUP -n$APPSERVICE_NAME
248
248
```
249
249
250
250
Once you're there, ask your solution a question. Like before, you question should ideally involve recent data or events, something that would only be known by the RAG process including content from Wikipedia.
@@ -256,11 +256,11 @@ Most Azure resources deployed in the prior steps will incur ongoing charges unle
256
256
> **Note:** This will completely delete any data you may have included in this example and it will be unrecoverable.
257
257
258
258
```bash
259
-
az group delete --name$RESOURCE_GROUP -y
259
+
az group delete -n$RESOURCE_GROUP -y
260
260
261
261
# Purge the soft delete resources
262
262
az keyvault purge -n kv-${BASE_NAME} -l $LOCATION
263
-
az cognitiveservices account purge -g $RESOURCE_GROUP -l $LOCATION --name oai-${BASE_NAME}
263
+
az cognitiveservices account purge -g $RESOURCE_GROUP -l $LOCATION -n oai-${BASE_NAME}
0 commit comments