Skip to main content

create_mongodb_memory_adapter

Function
This function is defined in the factories module.
Factory function to create MongoDB memory adapter. Lazy imports pymongo and creates an adapter that implements MemoryProtocol using MongoDB as the document store backend.

Signature

Returns

MemoryProtocol
MemoryProtocol adapter instance

Exceptions

If pymongo is not installed

Uses

  • ImportError
  • MongoDBMemoryAdapter

Source

View on GitHub

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

Memory Concept

Memory Overview

Memory Configuration

Session Resume