Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 4.36 KB

Sample07_VectorSearch.md

File metadata and controls

25 lines (20 loc) · 4.36 KB

Azure.Search.Documents Samples - Vector Search

Vector search is an information retrieval technique that uses numeric representations of searchable documents and query strings. By searching for numeric representations of content that are most similar to the numeric query, vector search can find relevant matches, even if the exact terms of the query are not present in the index. Moreover, vector search can be applied to various types of content, including images and videos and translated text, not just same-language text.

Azure AI Search doesn't host vectorization models. This presents a challenge in creating embeddings for query inputs and outputs. To address this, you need to ensure that the documents you push to your search service include vectors within the payload. To generate vectorized data, you have the flexibility to use any embedding model of your choice. However, we recommend utilizing the Azure OpenAI Embeddings models for this purpose. You can leverage the Azure.AI.OpenAI library to generate text embeddings.

Please refer the documentation to learn more about vector search.

Here's the list of samples that will show you how to index the vector fields and perform vector search using .NET SDK.