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.

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

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

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

from cat.mad_hatter.decorators import hook
@hook # default priority = 1
def after_cat_recalls_memories(cat):
# do whatever here