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
ImportError
ImportError
If pymongo is not installed
Uses
ImportErrorMongoDBMemoryAdapter
Source
View on GitHub
praisonaiagents/memory/adapters/factories.py at line 107
