Get All Memories • AI Agent SDK

get_all_memories: Get all memories from both collections.

get_all_memories

Method

</div>

This is a method of the MongoDBMemoryAdapter class in the factories module.

Get all memories from both collections.

Signature

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

Returns

ResponseField List[Dict[str, Any]]

The result of the operation.

Uses

  • find

Used By

Source

View on GitHub

praisonaiagents/memory/adapters/factories.py at line 599