Skip to main content

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

If mem0 is not installed

Uses

  • ImportError
  • Mem0MemoryAdapter

Source

View on GitHub

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

Memory Concept

Memory Overview

Memory Configuration

Session Resume