Skip to main content

Module rerank

Module rerank 

Source
Expand description

Independent relevance scoring and stable ranking without synthetic scores.

Structs§

Candidate
A caller-retrieved document and its local identifier.
Ranked
One decided candidate and its ranking key.
Ranking
Sorted decided candidates and every unscored candidate’s evidence.

Functions§

rerank
Score each candidate independently against a nonblank query.
reweighted
Re-rank existing answers with no additional calls.