Skip to main content
This example shows how to use the Memory class to create a persistent memory. Every time you run this, the Memory object will be re-initialized from the DB.

Code

cookbook/agent_concepts/memory/02_persistent_memory.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install libraries

3

Run Example