Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/memory / / RecallExplanation

Interface: RecallExplanation

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

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:63
queryreadonlystringThe query the recall ran for.packages/memory/src/search/explain.ts:59
rerankerIdreadonlystringStable id of the reranker that fused the candidate lists.packages/memory/src/search/explain.ts:61
resultsreadonlyreadonly RecalledMemoryExplanation[]Per-memory breakdown, in final-rank order (rank 1 first).packages/memory/src/search/explain.ts:65