Recall Memory
memory_recall · Nodes · Data
Retrieves relevant stored memories for the input context.
Recall Memory#
Retrieves structured memories for AI nodes.
Config:
Embeds the query with the workspace's embedding model, chosen in the Memory view, and considers only memories embedded with that same model. With none chosen, the node fails with No embedding model configured. A model field in an older saved config is ignored.
query: recall query. Supports templates; default is{{ input.text }}.namespaces: the namespaces to search, required.{"kind": "all"}searches every namespace in the workspace, including ones created later;{"kind": "only", "namespace_ids": ["01…"]}searches the listed ones. An id whose namespace was deleted is skipped.properties: default filtermin_semantic_score: minimum query/memory semantic match score. Default0.3; rejects unrelated memories.min_current_relevancy: minimum current memory relevancy after decay. Default0.5; rejects stale or low-signal memories.max_context_chars: context cap used for stats and downstream AI formatting
Memory recall uses two independent gates:
semantic_score: query match from embedding search.current_relevancy: memory signal quality now, computed frominitial_relevancyandhalf_life_seconds.
initial_relevancy is not search confidence. It is the memory's signal quality/usefulness when stored: direct observations and authoritative sources should be high, noisy sources or weak inferences lower. half_life_seconds controls durability: shorter for volatile knowledge, longer or omitted for stable knowledge.
Recall returns direct semantic hits only. Each hit carries up to 20 of its links plus links_truncated, as structural metadata; recall never follows a link or injects the linked memory's text. Follow a link with memory_get when the linked record is actually needed.
Superseded memories never appear in recall and there is no option to include them. When a newer memory supersedes an older one, only the newer memory can surface; if it does not match the query, neither does the pair. This is how a correction replaces an earlier memory instead of competing with it.
Input goes on canonical input only as template context.
- Default query expects
{ "text": "..." }oninput. - Configure
querydirectly for no-input recall. - The ids in
namespacesare namespace ULIDs. They are not templates and not names: a namespace is renamed freely, so nothing resolves one by name.
Output:
output: memory item array, e.g.[{ "title": "...", "text": "...", "semantic_score": 0.74, "current_relevancy": 0.9, ... }]. Every item carries the memory'stitle.stats: recall diagnostics, e.g.{ "query_chunks": 2, "candidates": 8, "returned": 3, "context_chars": 1200 }
Wire memory_recall.output into the AI Agent or AI Conversation memory socket. The AI nodes format the structural memories into runtime prompt context. Use memory for raw CRUD.
Inputs
inputOptional
Outputs
outputstats
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
query | text_block | No | Recall query. Supports templates from input. |
namespaces | namespace_scope | Yes | Memory namespaces to search |
properties | record | No | |
query_chunk_chars | integer | No | |
query_overlap_chars | integer | No | |
sentence_aware_chunking | boolean | No | |
per_chunk_limit | integer | No | |
final_limit | integer | No | |
min_semantic_score | number | No | Minimum semantic match score required for recall. This is query relevance, not memory relevancy. |
min_current_relevancy | number | No | Minimum current memory relevancy after half-life decay. This is signal quality/durability, not query match. |
max_context_chars | integer | No | |
base_config | record | No | Shared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow). |