Skip to main content

missing_current_facts

Function missing_current_facts 

Source
pub fn missing_current_facts<'a>(
    index: &KnowledgeEmbeddingIndex,
    knowledge: &'a ProjectKnowledge,
    cap: usize,
) -> Vec<&'a KnowledgeFact>
Expand description

Current facts that have no vector in the side-car index, most valuable first (same ordering as embeddings_reindex: confidence, then recency). Engine-free so the selection is unit-testable with raw indices.