Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/memory / / RecallExplanation

Interface: RecallExplanation

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

Structured "why was this recalled?" explanation for one SemanticMemory.search call: the query, the reranker that fused the candidate lists, and the per-memory signal breakdown in final-rank order. Pure data — safe to attach to a span, log, or render. X-3.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
countreadonlynumberNumber of recalled memories explained.packages/memory/src/search/explain.ts:60
queryreadonlystringThe query the recall ran for.packages/memory/src/search/explain.ts:56
rerankerIdreadonlystringStable id of the reranker that fused the candidate lists.packages/memory/src/search/explain.ts:58
resultsreadonlyreadonly RecalledMemoryExplanation[]Per-memory breakdown, in final-rank order (rank 1 first).packages/memory/src/search/explain.ts:62