Skip to main content

Module rerank

Module rerank 

Source
Expand description

Weighted feature-combination reranking for memory recall candidates. See crates/khive-pack-memory/docs/api/scoring.md.

Structs§

RerankFeatures
Input features per recall candidate for weighted reranking (relevance, salience, temporal, text_match, vector_match).

Functions§

weighted_rerank
Weighted feature-combination rerank score: Σ(weight × feature) / Σ(positive_weight). Returns 0.0 when weights are empty or all unrecognized.