create_mem0_memory_adapter
Function
This function is defined in the factories module.Factory function to create Mem0 memory adapter. Lazy imports mem0 and creates an adapter that wraps mem0.Memory to implement MemoryProtocol.
Signature
Returns
MemoryProtocol
MemoryProtocol adapter instance
Exceptions
ImportError
ImportError
If mem0 is not installed
Uses
ImportErrorMem0MemoryAdapter
Source
View on GitHub
praisonaiagents/memory/adapters/factories.py at line 53
