Use Azure AI Search Reranker Stand-Alone

Arthuro 20 Reputation points
2024-02-19T09:43:38.5066667+00:00

Hi all, as I understood Azure AI Search has a built-in reranker, which can be used to rerank retrievals for certain queries. Is it possible to use the reranker API in a stand-alone fashion without setting up a database. I do not want to set up a database as I perform cosine similarity search in memory. I would like to send the query and my retrieved text chunks and rerank them. Is that possible with Azure AI Search? Thank you in advance!

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,356 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 19,301 Reputation points Moderator
    2024-02-20T04:33:53.46+00:00

    Hi @Arthuro , Azure AI Search does have a built-in reranker, known as the Semantic Ranker. This feature uses language understanding to rerank search results, improving the relevance of the results. However, based on the information available, it appears that the Semantic Ranker is integrated into the Azure AI Search pipeline and works in conjunction with the indexing and query workflows.

    The reranking process in Azure AI Search involves feeding a query and results to language understanding models hosted by Microsoft, which then scan for better matches. This process is designed to work with the data indexed in Azure AI Search.

    Unfortunately, there is no explicit mention in the documentation about using the reranker API in a standalone fashion without setting up a database. The reranker seems to be tightly coupled with the Azure AI Search service, which involves concepts of search services, indexes, documents, indexers, data sources, skillsets, and synonym maps.

    If you’re looking for a solution to rerank your retrieved text chunks based on a query, you might need to consider other machine learning-based reranking solutions that can be used in a standalone manner. These could potentially be integrated into your existing cosine similarity search workflow.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.