Get All Memories • AI Agent SDK

get_all_memories: Get all memories from both short-term and long-term storage

get_all_memories

Method

</div>

This is a method of the Memory class in the memory module.

Get all memories from both short-term and long-term storage

Signature

python
def get_all_memories() -> List[Dict[str, Any]]

Returns

ResponseField List[Dict[str, Any]]

The result of the operation.

Uses

  • get_all_memories
  • conn.cursor
  • fetchall
  • c.execute
  • json.loads

Used By

Source

View on GitHub

praisonaiagents/memory/memory.py at line 2419