capabilities.work

Rerank documents against a query

One step with Elastic Stack. We can help you get access.

Look something up

Rerank documents against a query

with Elastic Stack · Artificial Intelligence Management

Use Elastic Stack: its Elasticsearch Request & Response Specification Inference API lets you rerank documents against a query in a single step (POST /_inference/rerank/{inference_id}). capabilities.work can help you get signed up and connected.

  • Can I rerank a list of candidate documents by relevance to a query?
  • Is there a way to only get back the top N results after reranking?
  • Does the rerank call return the document text or just the scores?
Say it to your AI assistant
  • Rerank {input} against the query {query} with rerank endpoint {inference_id}.
  • Rerank these documents for {query} using {inference_id} and keep only the top {top_n}.
For your developer

POST /_inference/rerank/{inference_id} in Elasticsearch Request & Response Specification Inference API. Full spec on APIs.io.