Skip to content

Commit 72104ee

Browse files
Merge pull request #270992 from gmndrg/main
Managed identity doc changes for integrated vectorization
2 parents c905ddf + cd91521 commit 72104ee

File tree

1 file changed

+42
-1
lines changed

1 file changed

+42
-1
lines changed

articles/search/search-howto-managed-identities-data-sources.md

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: cognitive-search
1010
ms.custom:
1111
- ignite-2023
1212
ms.topic: how-to
13-
ms.date: 12/18/2023
13+
ms.date: 04/02/2024
1414
---
1515

1616
# Connect a search service to other Azure resources using a managed identity
@@ -37,6 +37,8 @@ A search service uses Azure Storage as an indexer data source and as a data sink
3737
| [Enrichment cache (hosted in Azure Storage)](search-howto-incremental-index.md) <sup>1,</sup> <sup>2</sup> | Yes | Yes |
3838
| [Knowledge Store (hosted in Azure Storage)](knowledge-store-create-rest.md) <sup>1</sup>| Yes | Yes |
3939
| [Custom skills (hosted in Azure Functions or equivalent)](cognitive-search-custom-skill-interface.md) | Yes | Yes |
40+
| [Azure OpenAI embedding skill](cognitive-search-skill-azure-openai-embedding.md) | Yes | Yes |
41+
| [Azure OpenAI vectorizer](vector-search-how-to-configure-vectorizer.md) | Yes | Yes |
4042

4143
<sup>1</sup> For connectivity between search and storage, your network security configuration imposes constraints on which type of managed identity you can use. Only a system managed identity can be used for a same-region connection to storage via the trusted service exception or resource instance rule. See [Access to a network-protected storage account](search-indexer-securing-resources.md#access-to-a-network-protected-storage-account) for details.
4244

@@ -203,6 +205,7 @@ The following steps are for Azure Storage. If your resource is Azure Cosmos DB o
203205
| Write to a knowledge store | Add **Storage Blob DataContributor** for object and file projections, and **Reader and Data Access** for table projections. |
204206
| Write to an enrichment cache | Add **Storage Blob Data Contributor** |
205207
| Save debug session state | Add **Storage Blob Data Contributor** |
208+
| Embedding data (vectorizing) using Azure OpenAI embedding models | Add **Cognitive Services OpenAI User** |
206209
207210
1. On the **Members** page, select **Managed Identity**.
208211
@@ -286,6 +289,44 @@ A custom skill targets the endpoint of an Azure function or app hosting custom c
286289
"outputs": [ ...]
287290
}
288291
```
292+
[**Azure OpenAI embedding skill**](cognitive-search-skill-azure-openai-embedding.md) and [**Azure OpenAI vectorizer:**](vector-search-how-to-configure-vectorizer.md)
293+
294+
An Azure OpenAI embedding skill and vectorizer in AI Search target the endpoint of an Azure OpenAI service hosting an embedding model. The endpoint is specified in the [Azure OpenAI embedding skill definition](cognitive-search-skill-azure-openai-embedding.md) and/or in the [Azure OpenAI vectorizer definition](vector-search-how-to-configure-vectorizer.md). The system-managed identity is used if configured and if the "apikey" and "authIdentity" are empty. The "authIdentity" property is used for user-assigned managed identity only.
295+
296+
297+
```json
298+
{
299+
"@odata.type": "#Microsoft.Skills.Text.AzureOpenAIEmbeddingSkill",
300+
"description": "Connects a deployed embedding model.",
301+
"resourceUri": "https://url.openai.azure.com/",
302+
"deploymentId": "text-embedding-ada-002",
303+
"inputs": [
304+
{
305+
"name": "text",
306+
"source": "/document/content"
307+
}
308+
],
309+
"outputs": [
310+
{
311+
"name": "embedding"
312+
}
313+
]
314+
}
315+
```
316+
317+
```json
318+
"vectorizers": [
319+
{
320+
"name": "my_azure_open_ai_vectorizer",
321+
"kind": "azureOpenAI",
322+
"azureOpenAIParameters": {
323+
"resourceUri": "https://url.openai.azure.com",
324+
"deploymentId": "text-embedding-ada-002"
325+
}
326+
}
327+
]
328+
```
329+
289330

290331
## See also
291332

0 commit comments

Comments
 (0)