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: articles/ai-services/agents/how-to/use-your-own-resources.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ manager: nitinme
7
7
ms.service: azure
8
8
ms.topic: how-to
9
9
ms.date: 12/11/2024
10
-
author: aahill
11
-
ms.author: aahi
10
+
author: fosteramanda
11
+
ms.author: fosteramanda
12
12
ms.custom: azure-ai-agents
13
13
---
14
14
@@ -27,9 +27,9 @@ To use your own resources, you can edit the parameters in the provided deploymen
27
27
28
28
**Standard Setup**: Agents use customer-owned, single-tenant search and storage resources. With this setup, you have full control and visibility over these resources, but you incur costs based on your usage. You can use your own AI services account, storage account, and/or Azure AI Search resource with this option.
29
29
30
-
## Basic agent setup: use an existing AI Services resource
30
+
## Basic agent setup: use an existing AI Services/Azure OpenAI resource
31
31
32
-
Replace the parameter value for `aiServiceAccountResourceId` with the full arm resource ID of the AI Services account you want to use.
32
+
Replace the parameter value for `aiServiceAccountResourceId` with the full arm resource ID of the AI Services/Azure OpenAI resource you want to use.
33
33
34
34
1. To get the AI Services account resource ID, sign in to the Azure CLI and select the subscription with your AI Services account:
35
35
@@ -44,18 +44,25 @@ Replace the parameter value for `aiServiceAccountResourceId` with the full arm r
## Standard agent setup: use an existing AI Services, storage, and/or Azure AI Search resource
51
+
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.
52
+
53
+
54
+
## Standard agent setup: use an existing AI Services/Azure OpenAI, storage, and/or Azure AI Search resource
50
55
51
56
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.
52
57
53
-
Use an existing AI Services resource:
58
+
Use an existing AI Services/Azure OpenAI resource:
54
59
1. Follow the steps in basic agent setup to get the AI Services account resource ID.
55
60
2. In the standard agent template file, replace the following placeholders:
Copy file name to clipboardExpand all lines: articles/ai-services/agents/includes/bicep-setup.md
+21-3Lines changed: 21 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
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
@@ -47,10 +47,28 @@ By default, the deployment template is configured with the following values:
47
47
>
48
48
> The templates only support deployment of OpenAI models. See which OpenAI models are supported in the [Azure AI Agent Service model support](../concepts/model-region-support.md) documentation.
49
49
50
+
51
+
### [Optional] Use your own resources during agent setup
52
+
53
+
> [!NOTE]
54
+
> If you use an existing AI Services or Azure OpenAI resource, no model will be deployed. You can deploy a model to the resource after the agent setup is complete.
55
+
56
+
Use an existing AI Services, Azure OpenAI, AI Search, and/or Azure Blob Storage resource by providing the full arm resource ID in the parameters file:
57
+
58
+
-`aiServiceAccountResourceId`
59
+
-`aiSearchServiceResourceId`
60
+
-`aiStorageAccountResourceId`
61
+
62
+
63
+
If you want to use an existing Azure OpenAI resource, you need to update the `aiServiceAccountResourceId` and the `aiServiceKind` parameters in the parameter file. The `aiServiceKind` parameter should be set to `AzureOpenAI`.
64
+
65
+
For more information, see [how to use your own resources](../how-to/use-your-own-resources.md).
Resources for the AI hub, AI project, and AI Services are created for you. A storage account is created because it's a required resource for hubs, but this storage account is not used by agents. The AI Services account is connected to your project/hub and a gpt-4o-mini model is deployed in the eastus region. A Microsoft-managed key vault, storage account, and search resource is used by default.
71
+
Resources for the AI hub, AI project, and AI Services are created for you. A storage account is created because it's a required resource for hubs, but this storage account isn't used by agents. The AI Services account is connected to your project/hub and a gpt-4o-mini model is deployed in the eastus region. A Microsoft-managed key vault, storage account, and search resource is used by default.
54
72
55
73
## Standard agent setup resource architecture
56
74
:::image type="content" source="../media/quickstart/standard-agent-setup-resources.png" alt-text="An architecture diagram for standard agent setup." lightbox="../media/quickstart/standard-agent-setup-resources.png":::
Adding files to vector stores is an async operation. To ensure the operation is complete, we recommend that you use the 'create and poll' helpers in our official SDKs. If you're not using the SDKs, you can retrieve the `vector_store` object and monitor its `file_counts` property to see the result of the file ingestion operation.
21
11
22
12
Files can also be added to a vector store after it's created by creating vector store files.
@@ -40,7 +30,7 @@ Alternatively, you can add several files to a vector store by creating batches o
0 commit comments