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: documents/DeploymentGuide.md
+38-2Lines changed: 38 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -238,9 +238,45 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain
238
238
-- This deployment will take *7-10 minutes* to provision the resources in your account and set up the solution with sample data.
239
239
- If you encounter an error or timeout during deployment, changing the location may help, as there could be availability constraints for the resources.
240
240
241
-
5. Once the deployment has completed successfully, open the [Azure Portal](https://portal.azure.com/), go to the deployed resource group, find the App Service, and get the app URL from `Default domain`.
241
+
5. Once the deployment has completed successfully, copy the bash command from terminal: (ex: `bash ./infra/scripts/agent_scripts/run_create_agents_scripts.sh`) for later use.
242
242
243
-
6. If you are done trying out the application, you can delete the resources by running `azd down`.
243
+
> **Note**: If you are running this deployment in GitHub Codespaces or VS Code Dev Container or Visual Studio Code (WEB) skip to step 7.
244
+
245
+
6. Create and activate a virtual environment in bash terminal:
246
+
247
+
```shell
248
+
python -m venv .venv
249
+
```
250
+
251
+
```shell
252
+
source .venv/Scripts/activate
253
+
```
254
+
255
+
7. Login to Azure:
256
+
257
+
```shell
258
+
az login
259
+
```
260
+
261
+
Alternatively, login to Azure using a device code (recommended when using VS Code Web):
262
+
263
+
```shell
264
+
az login --use-device-code
265
+
```
266
+
267
+
8. Run the bash script from the output of the azd deployment. The script will look like the following:
9. Once the script has run successfully, open the [Azure Portal](https://portal.azure.com/), go to the deployed resource group, find the App Service, and get the app URL from `Default domain`.
278
+
279
+
10. If you are done trying out the application, you can delete the resources by running `azd down`.
244
280
>**Note:** If you deployed with `enableRedundancy=true` and Log Analytics workspace replication is enabled, you must first disable replication before running `azd down`else resource group delete will fail. Follow the steps in [Handling Log Analytics Workspace Deletion with Replication Enabled](./LogAnalyticsReplicationDisable.md), waituntil replication returns `false`, then run `azd down`.
Copy file name to clipboardExpand all lines: documents/LocalDebuggingSetup.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,9 @@ If you don't have an existing environment, you must first deploy the Azure resou
70
70
|-------------|-------|------|
71
71
|`SOLUTION_NAME`|| Prefix used to uniquely identify resources in the deployment |
72
72
|`RESOURCE_GROUP_NAME`|| Name of the Azure Resource Group |
73
+
|`AGENT_NAME_CONVERSATION`|| Name of the conversation agent |
74
+
|`AGENT_NAME_TITLE`|| Name of the title agent |
75
+
|`API_APP_NAME`|| Name of the Azure App Service for the API |
73
76
|`APP_ENV`|`dev`| Set APP_ENV in your .env file to control Azure authentication. Set the environment variable to dev to use Azure CLI credentials, or to prod to use Managed Identity for production. Ensure you're logged in via az login when using dev in local. |
74
77
|`APPINSIGHTS_INSTRUMENTATIONKEY`|| Instrumentation Key for Azure Application Insights |
75
78
|`APPLICATIONINSIGHTS_CONNECTION_STRING`|| Connection string for Application Insights |
@@ -80,6 +83,7 @@ If you don't have an existing environment, you must first deploy the Azure resou
80
83
|`AZURE_AI_SEARCH_INDEX`|`call_transcripts_index`| Name of the Azure AI Search index |
81
84
|`AZURE_AI_SEARCH_CONNECTION_NAME`|| Connection name for Azure AI Search |
82
85
|`AZURE_AI_FOUNDRY_NAME`|| Name of the Azure AI Foundry resource |
86
+
|`AZURE_AI_FOUNDRY_RESOURCE_ID`|| Resource ID of the Azure AI Foundry resource |
83
87
|`AZURE_AI_SEARCH_NAME`|| Name of the Azure AI Search service |
84
88
|`AZURE_EXISTING_AI_PROJECT_RESOURCE_ID`|| Resource ID of existing AI project (if using existing foundry project) |
85
89
|`AZURE_COSMOSDB_ACCOUNT`|| Name of the Azure Cosmos DB account |
0 commit comments