Skip to main content

Module recall

Module recall 

Source
Expand description

Smart recall with composite scoring and graph boost.

Structs§

RecallOptions
Structured recall options.

Constants§

W_ACCESS
Weight applied to access frequency in the composite relevance score.
W_FTS
Weight applied to FTS (full-text search) rank in the composite relevance score.
W_GRAPH
Weight applied to graph-neighbor boost in the composite relevance score.
W_IMPORTANCE
Weight applied to node importance in the composite relevance score.
W_RECENCY
Weight applied to recency in the composite relevance score.

Functions§

compute_recency
Compute recency score (0.0–1.0) with exponential decay, half-life = 30 days.
smart_recall
Scoring: recency(20%) + importance(35%) + access_freq(15%) + FTS(20%) + graph_boost(10%)
smart_recall_with
Structured recall — see RecallOptions.