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/search/vector-search-how-to-configure-vectorizer.md
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,14 @@ ms.service: azure-ai-search
9
9
ms.custom:
10
10
- build-2024
11
11
ms.topic: how-to
12
-
ms.date: 08/05/2024
12
+
ms.date: 01/14/2025
13
13
---
14
14
15
15
# Configure a vectorizer in a search index
16
16
17
-
In Azure AI Search a *vectorizer* is software that performs vectorization, such as a deployed embedding model on Azure OpenAI, that converts text (or images) to vectors during query execution.
17
+
In Azure AI Search a *vectorizer* is a component that performs vectorization using a deployed embedding model on Azure OpenAI or Azure AI Vision. It converts text (or images) to vectors during query execution.
18
18
19
-
It's defined in a [search index](search-what-is-an-index.md), it applies to searchable vector fields, and it's used at query time to generate an embedding for a text or image query input. If instead you need to vectorize content as part of the indexing process, refer to [Integrated Vectorization (Preview)](vector-search-integrated-vectorization.md). For built-in vectorization during indexing, you can configure an indexer and skillset that calls an embedding model for your raw text content.
19
+
It's defined in a [search index](search-what-is-an-index.md), it applies to searchable vector fields, and it's used at query time to generate an embedding for a text or image query input. If instead you need to vectorize content as part of the indexing process, refer to [integrated vectorization](vector-search-integrated-vectorization.md). For built-in vectorization during indexing, you can configure an indexer and skillset that calls an embedding model for your raw text or image content.
20
20
21
21
To add a vectorizer to search index, you can use the index designer in Azure portal, or call the [Create or Update Index](/rest/api/searchservice/indexes/create-or-update) REST API, or use any Azure SDK package that's updated to provide this feature.
22
22
@@ -28,14 +28,25 @@ Vectorizers are now generally available as long as you use a generally available
28
28
29
29
+[An index with searchable vector fields](vector-search-how-to-create-index.md) on Azure AI Search.
30
30
31
-
+ A deployed embedding model, such as **text-embedding-ada-002**, **text-embedding-3-small**, or **text-embedding-3-large** on Azure OpenAI. It's used to vectorize a query. It must be [identical to the embedding model used for the vector field](vector-search-integrated-vectorization.md#using-integrated-vectorization-in-queries) in your index. You can also use [models deployed from the Azure AI Foundry model catalog](vector-search-integrated-vectorization-ai-studio.md) or an [Azure AI Vision model](/azure/ai-services/computer-vision/concept-image-retrieval).
31
+
+ A deployed embedding model (see the next section).
32
32
33
-
+ Permissions to use the embedding model. If you're using Azure OpenAI, the caller must have [Cognitive Services OpenAI User](/azure/ai-services/openai/how-to/role-based-access-control#azure-openai-roles) permissions. Or, you can provide an API key.
33
+
+ Permissions to use the embedding model. On Azure OpenAI, the caller must have [Cognitive Services OpenAI User](/azure/ai-services/openai/how-to/role-based-access-control#azure-openai-roles) permissions. Or, you can provide an API key.
34
34
35
35
+[Visual Studio Code](https://code.visualstudio.com/download) with a [REST client](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) to send the query and accept a response.
36
36
37
37
We recommend that you enable diagnostic logging on your search service to confirm vector query execution.
38
38
39
+
## Supported embedding models
40
+
41
+
The following table lists the embedding models that can be used with a vectorizer. Because you must use the [same embedding model for indexing and queries](vector-search-integrated-vectorization.md#using-integrated-vectorization-in-queries), vectorizers are paired with skills that generate embeddings during indexing. The table lists the skill associated with a particular vectorizer.
42
+
43
+
| Vectorizer kind | Model names | Model provider | Associated skill |
|[`aml`](vector-search-vectorizer-azure-machine-learning-ai-studio-catalog.md)| Facebook-DinoV2-Image-Embeddings, Cohere-embed-v3 |[Azure AI Foundry model catalog](vector-search-integrated-vectorization-ai-studio.md)|[AML skill](cognitive-search-aml-skill.md)|
47
+
|[`aiServicesVision`](vector-search-vectorizer-ai-services-vision.md)|[Multimodal embeddings 4.0 API](/azure/ai-services/computer-vision/concept-image-retrieval)| Azure AI Vision (through an Azure AI multi-service account) |[Azure AI Vision multimodal embeddings skill](cognitive-search-skill-vision-vectorize.md)|
48
+
|[`customWebApi`](vector-search-vectorizer-custom-web-api.md)| Any embedding model | Hosted externally |[Custom Web API skill](cognitive-search-custom-skill-web-api.md)|
49
+
39
50
## Try a vectorizer with sample data
40
51
41
52
The [Import and vectorize data wizard](search-get-started-portal-import-vectors.md) reads files from Azure Blob storage, creates an index with chunked and vectorized fields, and adds a vectorizer. By design, the vectorizer that's created by the wizard is set to the same embedding model used to index the blob content.
0 commit comments