Skip to content

after_cat_recalls_memories

Intervene after the Cat has recalled the content from the memories.

The hook is executed just after the Cat searches for the meaningful context in memories and stores it in the Working Memory.

📄 Arguments

This hook has no input arguments, other than the default cat:

Name Type Description
cat StrayCat Cheshire Cat instance, allows you to use the framework components.

â†Šī¸ Return

Returns? Oh no, dear developer, this function is a one-way trip into the rabbit hole.

✍ Example

from cat.mad_hatter.decorators import hook

@hook  # default priority = 1
def after_cat_recalls_memories(cat):
    # do whatever here