Skip to content

Long Term Memory

The Cat has memory that persist across restarts, this memory is implemented using a vector database. The name of this memory is Long Term Memory (LTM), it is made of three components:

Schema of the Cheshire Cat memories

During conversation between the Cat and the user, the memories are accessed by the Cat to retrieve relevant context for passing to the LLM and are updated when the LLM responds (details of the read and write flow of the Long Term Memory can be found in this diagram).

The retrieved relevant context is used to make up the Main prompt and the Instruction prompt.

You can interact with the LTM using the memory page of the Admin Portal.

Check about long term memory backup to prevent loosing cat memories.