Skip to main content

smart_recall

Function smart_recall 

Source
pub fn smart_recall(
    conn: &Connection,
    project: Option<&str>,
    hint: Option<&str>,
    limit: usize,
) -> Result<Vec<ScoredNode>>
Expand description

Smart recall: return nodes ranked by composite relevance.

Scoring: recency(20%) + importance(35%) + access_freq(15%) + FTS(20%) + graph_boost(10%)

Stale nodes (tagged “stale”) are excluded. Retrieved nodes have their access_count incremented.