deepset-ai / deepset-ai/haystack-core-integrations

Add Azure Ranker Component

Open
#2,795 11 comments 1 reaction 1 assignee View on GitHub

@bogdankostic is already working on this.

Since Aug 7, 2026.

P2
Dominant language
Python
Stars
203
Forks
332
Avg merge
2d 4h
Merged PRs (30d)
80

Description

Is your feature request related to a problem? Please describe.
We have OpenAIChatGenerator and AzureOpenAIDocumentEmbedder components in Haystack. In addition we have Retriever components in the Azure AI Search Haystack integration. However, we don't have a component that covers ranking with models served via Azure AI.

Describe the solution you'd like
We should add a new component that enables users to rerank documents with cross-encoder models served via Microsoft Azure. I believe this new component could become part of the existing Azure AI Search integration or become a separate integration depending on dependencies it might require. If it does not require azure-search-documents then it could become a separate integration where we have a Ranker Component and in future also an Embedder component.

AmazonBedrockRanker can be used as an example and the new AzureRanker or AzureAISearchRanker component should work as a drop-in replacement of AmazonBedrockRanker. @bglearning could provide feedback.

Additional context
My understanding is that the Azure AI Search service feature of a semantic ranker as described in https://learn.microsoft.com/en-us/azure/search/search-get-started-semantic?pivots=python is completely separate from this GitHub issue. We are looking for a ranker component that works independent of how the documents are stored and what index they use.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.