Skip to content

Commit 894ae6c

Browse files
committed
setup updates adding byo resource instructions
1 parent 1889b9c commit 894ae6c

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

articles/ai-services/agents/includes/bicep-setup.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The following section shows you how to set up the required resources for getting
1515

1616
1. Creating an Azure AI project under your Hub creates an endpoint for your app to call, and sets up app services to access to resources in your tenant.
1717

18-
1. Connecting an Azure OpenAI resource or an Azure AI resource
18+
1. Connecting an Azure OpenAI resource or an Azure AI Services resource
1919

2020

2121
## Choose Basic or Standard Agent Setup
@@ -36,41 +36,47 @@ The following section shows you how to set up the required resources for getting
3636

3737
Replace the parameter value for `aiServiceAccountResourceId` with the full arm resource id of the AI Services account you want to use.
3838

39-
1. To get the AI Services account resource id, run the following commands in the Azure CLI:
40-
- ```az login```
41-
- Replace `<your-resource-group>` with the resource group containing your resource and `your-ai-service-resource-name` with the name of your AI Service resource, and run:
39+
1. To get the AI Services account resource id, sign in to the Azure CLI and select the subscription with your AI Services account:
40+
41+
```az login```
42+
2. Replace `<your-resource-group>` with the resource group containing your resource and `your-ai-service-resource-name` with the name of your AI Service resource, and run:
4243

43-
```az cognitiveservices account show --resource-group <your-resource-group> --name <your-ai-service-resource-name> --query "id" --output tsv```
44+
```az cognitiveservices account show --resource-group <your-resource-group> --name <your-ai-service-resource-name> --query "id" --output tsv```
4445

45-
The value returned is the `aiServiceAccountResourceId` you need to use in the template.
46+
The value returned is the `aiServiceAccountResourceId` you need to use in the template.
4647

4748
2. In the basic agent template file, set the parameter:
4849
- aiServiceAccountResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{serviceName}"
4950

50-
#### Standard agent setup: use an existing AI Services, Storage, and/or Azure AI Search resources
51+
#### Standard agent setup: use an existing AI Services, storage, and/or Azure AI Search resource
5152

5253
Use an existing AI Search, storage accont, and/or Azure AI Search resource by providing the full arm resource id in the standard agent template file.
5354

5455
Use an existing AI Services resource:
55-
- aiServiceAccountResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{serviceName}
56+
1. See steps in basic agent setup to get the AI Services account resource id.
57+
2. In the standard agent template file, set the parameter:
58+
- aiServiceAccountResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{serviceName}
5659

5760
Use an existing storage account:
58-
- To get your storage account resource id, sign in to the Azure CLI:
61+
1. To get your storage account resource id, sign in to the Azure CLI and select the subscription with your storage account:
5962

6063
```az login```
61-
- Then run the command:
64+
2. Then run the command:
6265

6366
```az search service show --resource-group <your-resource-group> --name <your-storage-account> --query "id" --output tsv```
6467

6568
The output is the `aiStorageAccountResourceID` you need to use in the template.
66-
- In the standard agent template file, set the parameter:
69+
3. In the standard agent template file, set the parameter:
6770
- aiStorageAccountResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}
6871

6972
Use an existing Azure AI Search resource:
70-
- To get your Azure AI Search resource id, sign into Azure CLI and select the subscription with your search resource:
71-
```az login```
72-
- ```az search service show --resource-group <your-resource-group> --name <your-search-service> --query "id" --output tsv```
73-
- In the standard agent template file, set the parameter:
73+
1. To get your Azure AI Search resource id, sign into Azure CLI and select the subscription with your search resource:
74+
75+
```az login```
76+
2. Then run the command:
77+
78+
```az search service show --resource-group <your-resource-group> --name <your-search-service> --query "id" --output tsv```
79+
3. In the standard agent template file, set the parameter:
7480
- aiSearchServiceResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}
7581

7682
## Basic agent setup resource architecture

0 commit comments

Comments
 (0)