Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    cfg: &CurrentFactResolverConfig,
    candidates: Vec<ScoredMemory>,
) -> ResolverOutput
Expand description

Apply the current-fact resolver to a result set produced by the standard recall path. Groups by cfg.fact_key, keeps the most recent write per group, and optionally collects the older writes as a supersession chain.

Records missing the fact_key field in their metadata are passed through to kept untouched.