Skip to content
ToolRouter
Sort Passages icon

Sort Passages

Put the best search snippets first

AIFrom $0.01

Use it in
Add to Claude
Sort these passages for question. Put the best match first. The candidates are: paste shortlist.
Claude

On it. Running Sort Passages now and I'll bring the results straight back here.

Try asking

About

Sort Passages takes a short list of search snippets or retrieved paragraphs and puts the ones that actually answer your question at the top.

Use it after a search or a first-pass retrieval, not over a whole library. Each candidate gets a relevance score. You then keep the top few and send only those to the answering model.

This is cheaper than pasting every snippet into chat. A typical call finishes in about a tenth of a second.

What you can do

  • rerank retrieved paragraphs before the answering model sees them
  • rerank web-search snippets against the original question
  • Drop clearly irrelevant candidates instead of reading them

Who it's for

Search UIs, retrieval pipelines, and agents that found more passages than they should paste.

How to use it

  1. Fetch a short list in code (max 40)
  2. Call rerank with the question and candidates
  3. Send only the top few passages to the answering model

Getting started

Pass a refund-window question and three snippets. The policy passage should beat shipping and product copy.

Powered by