pub fn rerank(
query: &str,
candidates: &[String],
config: &RerankConfig,
) -> Vec<RerankResult>Expand description
Rerank candidates given a query.
Returns results sorted by descending score, each with the original index.
pub fn rerank(
query: &str,
candidates: &[String],
config: &RerankConfig,
) -> Vec<RerankResult>Rerank candidates given a query.
Returns results sorted by descending score, each with the original index.