Skip to content

Commit a60e367

Browse files
authored
Update use-your-own-resources.md
Updating with instructions on how to use your own Cosmos DB account
1 parent e753600 commit a60e367

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

articles/ai-services/agents/how-to/use-your-own-resources.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To use your own resources, you can edit the parameters in the provided deploymen
2626

2727
**Basic Setup**: Agents use multitenant search and storage resources fully managed by Microsoft. You don't have visibility or control over these underlying Azure resources. You can only use your own AI services account with this option.
2828

29-
**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+
**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, Azure Storage account, Cosmos DB for NoSQL account and/or Azure AI Search resource with this option.
3030

3131
## Basic agent setup: use an existing AI Services/Azure OpenAI resource
3232

@@ -52,7 +52,7 @@ Replace the parameter value for `aiServiceAccountResourceId` with the full arm r
5252
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.
5353
5454
55-
## Standard agent setup: use an existing AI Services/Azure OpenAI, storage, and/or Azure AI Search resource
55+
## Standard agent setup: use an existing AI Services/Azure OpenAI, Azure Storage account, Azure Cosmos DB for NoSQL account, and/or Azure AI Search resource
5656
5757
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.
5858
@@ -66,7 +66,7 @@ Use an existing AI Services or Azure OpenAI resource:
6666
[Azure OpenAI Only] aiServiceKind: AzureOpenAI
6767
```
6868
69-
### Use an existing storage account
69+
### Use an existing Azure Storage account for file storage
7070
7171
1. To get your storage account resource ID, sign in to the Azure CLI and select the subscription with your storage account:
7272
@@ -82,6 +82,22 @@ Use an existing AI Services or Azure OpenAI resource:
8282
aiStorageAccountResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}
8383
```
8484
85+
### Use an existing Azure Cosmos DB for NoSQL account for thread storage
86+
87+
1. To get your Azure Cosmos DB account resource ID, sign in to the Azure CLI and select the subscription with your account:
88+
89+
```az login```
90+
2. Then run the command:
91+
92+
```az cosmosdb show --resource-group <your-resource-group> --name <your-comosdb-account> --query "id" --output tsv```
93+
94+
The output is the `cosmosDBResourceId` you need to use in the template.
95+
3. In the standard agent template file, replace the following placeholders:
96+
97+
```
98+
cosmosDBResourceId:/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{cosmosDbAccountName}
99+
```
100+
85101
### Use an existing Azure AI Search resource
86102
87103
1. To get your Azure AI Search resource ID, sign into Azure CLI and select the subscription with your search resource:

0 commit comments

Comments
 (0)