Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/memory / / RecalledMemoryExplanation

Interface: RecalledMemoryExplanation

Defined in: packages/memory/src/search/explain.ts:27

Per-memory contribution breakdown for one recalled record: the decomposed signals the hybrid pipeline summed into the final score, plus the record's final rank. Surfaces why a single memory was recalled and how it ranked relative to its siblings.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
idreadonlystringRecord id (fact / episode / insight / …).packages/memory/src/search/explain.ts:29
kindreadonlyMemoryKindMemory kind of the recalled record.packages/memory/src/search/explain.ts:31
rankreadonlynumber1-based position in the final fused + decayed ranking.packages/memory/src/search/explain.ts:33
scorereadonlynumberFinal score after fusion and (optional) decay.packages/memory/src/search/explain.ts:35
signalsreadonlyReadonly<Record&lt;string, number&gt;>Raw per-signal scores contributing to score, exactly as the pipeline recorded them on the hit: FTS (bm25), vector similarity (vector), the fused reciprocal-rank terms (rrf + per-list rrf.list_N), and the decay multiplier (decay) when decay ran.packages/memory/src/search/explain.ts:42