Skip to content

Commit 1889b9c

Browse files
committed
setup more details
1 parent af53a52 commit 1889b9c

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

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

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,35 +37,40 @@ The following section shows you how to set up the required resources for getting
3737
Replace the parameter value for `aiServiceAccountResourceId` with the full arm resource id of the AI Services account you want to use.
3838

3939
1. To get the AI Services account resource id, run the following commands in the Azure CLI:
40-
- az login
40+
- ```az login```
4141
- 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:
4242

4343
```az cognitiveservices account show --resource-group <your-resource-group> --name <your-ai-service-resource-name> --query "id" --output tsv```
4444

4545
The value returned is the `aiServiceAccountResourceId` you need to use in the template.
4646

47-
2. In the basic agent template::
48-
- aiServiceAccountResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{serviceName}"
47+
2. In the basic agent template file, set the parameter:
48+
- aiServiceAccountResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{serviceName}"
4949

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

5252
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.
5353

5454
Use an existing AI Services resource:
5555
- aiServiceAccountResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{serviceName}
5656

5757
Use an existing storage account:
58-
- To get your storage account resource id run the following Azure CLI commands:
59-
- az login
60-
- ```az search service show --resource-group <your-resource-group> --name <your-storage-account> --query "id" --output tsv```
61-
- In the template file set:
62-
- aistorageAccountResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}
58+
- To get your storage account resource id, sign in to the Azure CLI:
59+
60+
```az login```
61+
- Then run the command:
62+
63+
```az search service show --resource-group <your-resource-group> --name <your-storage-account> --query "id" --output tsv```
64+
65+
The output is the `aiStorageAccountResourceID` you need to use in the template.
66+
- In the standard agent template file, set the parameter:
67+
- aiStorageAccountResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}
6368

6469
Use an existing Azure AI Search resource:
65-
- To get your Azure AI Search resource id run the following Azure CLI commands:
66-
- az login
70+
- To get your Azure AI Search resource id, sign into Azure CLI and select the subscription with your search resource:
71+
```az login```
6772
- ```az search service show --resource-group <your-resource-group> --name <your-search-service> --query "id" --output tsv```
68-
- In the template file set parameter:
73+
- In the standard agent template file, set the parameter:
6974
- aiSearchServiceResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}
7075

7176
## Basic agent setup resource architecture

0 commit comments

Comments
 (0)