|
1 | 1 | ---
|
2 | 2 | manager: nitinme
|
3 |
| -author: aahill |
4 |
| -ms.author: aahi |
| 3 | +author: fosteramanda |
| 4 | +ms.author: fosteramanda |
5 | 5 | ms.service: azure
|
6 | 6 | ms.topic: include
|
7 | 7 | ms.date: 11/13/2024
|
@@ -53,52 +53,17 @@ By default, the deployment template is configured with the following values:
|
53 | 53 | > [!NOTE]
|
54 | 54 | > If you use an existing AI Services/AOAI resource, no model will be deployed. You can deploy a model to the resource after the agent setup is complete.
|
55 | 55 |
|
56 |
| -#### Basic agent setup: use an existing AI Services resource |
| 56 | +Use an existing AI Services/AOAI, AI Search, and/or Azure Blob Storage resource by providing the full arm resource id in the parameters file: |
57 | 57 |
|
58 |
| -Replace the parameter value for `aiServiceAccountResourceId` with the full arm resource ID of the AI Services account you want to use. |
| 58 | +- aiServiceAccountResourceId |
| 59 | +- aiSearchServiceResourceId |
| 60 | +- aiStorageAccountResourceId |
59 | 61 |
|
60 |
| -1. To get the AI Services account resource ID, sign in to the Azure CLI and select the subscription with your AI Services account: |
61 |
| - |
62 |
| - ```az login``` |
63 |
| -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: |
64 |
| - |
65 |
| - ```az cognitiveservices account show --resource-group <your-resource-group> --name <your-ai-service-resource-name> --query "id" --output tsv``` |
66 | 62 |
|
67 |
| - The value returned is the `aiServiceAccountResourceId` you need to use in the template. |
| 63 | +If you want to use an existing Azure OpenAI resource, you will need to update the `aiServiceAccountResourceId` and the `aiServiceKind` parameters in the parameter file. The `aiServiceKind` parameter should be set to `AzureOpenAI`. |
68 | 64 |
|
69 |
| -2. In the basic agent template file, set the parameter: |
70 |
| - - aiServiceAccountResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{serviceName} |
| 65 | +For more details see [how to use your own resources](../how-to/tools/use-your-own-resources.md). |
71 | 66 |
|
72 |
| -#### Standard agent setup: use an existing AI Services, storage, and/or Azure AI Search resource |
73 |
| - |
74 |
| -Use an existing AI Search, storage account, and/or Azure AI Search resource by providing the full arm resource ID in the standard agent template file. |
75 |
| - |
76 |
| -Use an existing AI Services resource: |
77 |
| -1. Follow the steps in basic agent setup to get the AI Services account resource ID. |
78 |
| -2. In the standard agent template file, set the parameter: |
79 |
| - - aiServiceAccountResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{serviceName} |
80 |
| - |
81 |
| -Use an existing storage account: |
82 |
| -1. To get your storage account resource ID, sign in to the Azure CLI and select the subscription with your storage account: |
83 |
| - |
84 |
| - ```az login``` |
85 |
| -2. Then run the command: |
86 |
| - |
87 |
| - ```az search service show --resource-group <your-resource-group> --name <your-storage-account> --query "id" --output tsv``` |
88 |
| - |
89 |
| - The output is the `aiStorageAccountResourceID` you need to use in the template. |
90 |
| -3. In the standard agent template file, set the parameter: |
91 |
| - - aiStorageAccountResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{storageAccountName} |
92 |
| - |
93 |
| -Use an existing Azure AI Search resource: |
94 |
| -1. To get your Azure AI Search resource ID, sign into Azure CLI and select the subscription with your search resource: |
95 |
| - |
96 |
| - ```az login``` |
97 |
| -2. Then run the command: |
98 |
| - |
99 |
| - ```az search service show --resource-group <your-resource-group> --name <your-search-service> --query "id" --output tsv``` |
100 |
| -3. In the standard agent template file, set the parameter: |
101 |
| - - aiSearchServiceResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName} |
102 | 67 |
|
103 | 68 | ## Basic agent setup resource architecture
|
104 | 69 | :::image type="content" source="../media/quickstart/basic-agent-setup-resources.png" alt-text="An architecture diagram for basic agent setup." lightbox="../media/quickstart/basic-agent-setup-resources.png":::
|
|
0 commit comments