MemoryStore.recall()
Retrieve a memory, searching tiers if no specific tier is given.
Usage
MemoryStore.recall(
key,
*,
tier=None,
default=None,
)When tier is None, searches working → short-term → long-term and returns the first match found.
Parameters
key: str-
The key to look up.
tier: MemoryTier | None = None-
Specific tier to search.
Nonesearches all tiers. default: Any = None- Value to return if not found in any tier.
Returns
Any-
The stored value, or
defaultif not found.