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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
id | readonly | string | Record id (fact / episode / insight / …). | packages/memory/src/search/explain.ts:29 |
kind | readonly | MemoryKind | Memory kind of the recalled record. | packages/memory/src/search/explain.ts:31 |
rank | readonly | number | 1-based position in the final fused + decayed ranking. | packages/memory/src/search/explain.ts:33 |
score | readonly | number | Final score after fusion and (optional) decay. | packages/memory/src/search/explain.ts:35 |
signals | readonly | Readonly<Record<string, number>> | 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 |