Skip to main content
How to search for user memories using different retrieval methods.
  • last_n: Retrieves the last n memories
  • first_n: Retrieves the first n memories
  • agentic: Retrieves memories using agentic search

Code

memory_manager/memory_search.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install libraries

3

Run Example