Skip to main content

get_all_memories

Method
This is a method of the Memory class in the memory module.
Get all memories from both short-term and long-term storage

Signature

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

Returns

Returns
List[Dict[str, Any]]
The result of the operation.

Uses

  • sqlite3.connect
  • conn.cursor
  • fetchall
  • c.execute
  • conn.close
  • json.loads

Source

View on GitHub

praisonaiagents/memory/memory.py at line 1785