Skip to content

Working Memory

The Working Memory is a handful component to store temporary data.
For instance, it can be used to share data across plugins or, in general, across any function that get an instance of the Cat as an argument.

By default, the Working Memory stores the chat history that ends up in the Main Prompt. Moreover, the Working Memory collects the relevant context that is fetched from the episodic, declarative and procedural memories in the Long Term Memory.

Furthermore, the Cat embeds a simple user management system that allows to segregate contents bases on a user_id.
More in details, multiple Working Memories can be stored in a component called Working Memory List.
By default, the Cat stores the content under the key user.

Schema of the Cheshire Cat memories