- class langgraph_agent_toolkit.core.memory.factory.MemoryFactory[source][source]
Bases:
object
Factory for creating memory backend instances.
- static create(backend)[source][source]
Create and return a memory backend instance.
- Parameters:
backend (MemoryBackends) – The memory backend to create
- Returns:
An instance of the requested memory backend
- Raises:
ValueError – If the requested backend is not supported
- Return type: