the.ai

Retrieval / Ranking

verified

Reranking

The fast retriever has to score millions of passages, so it can only afford to look at the query and the passage separately. A reranker looks at a few dozen and reads them together with the question, which catches the cases where the words line up and the meaning does not. Expensive per passage, cheap overall, because so few are left.

Viz primitive · budget-splitrerank-ms = 60

rerank-ms holds 75% of the budget; rest holds the remaining 25%.

Time spent reranking a shortlist against time spent retrieving it, both in milliseconds. Drag the rerank cost to watch the cheap stage vanish into the expensive one.

60

Reviewed by opendroid · 2026-08-04