Agent.recall()

Retrieve a value from the agent’s memory.

Usage

Source

Agent.recall(
    key,
    default=None,
)

Convenience wrapper around self.memory.recall().

Parameters

key: str

The key to look up.

default: Any = None
Value to return if the key is not found.

Returns

Any
The stored value, or default.