Skip to main content

get_first_available_memory_adapter

Function
This function is defined in the registry module.
Get first available memory adapter.

Signature

Parameters

Optional
List of adapter names to try (defaults to [“sqlite”, “in_memory”]) **kwargs: Configuration passed to adapter constructor

Returns

Optional[Tuple[str, MemoryProtocol]]
(adapter_name, adapter_instance) tuple or None

Uses

  • get_first_available
  • get_default_memory_registry

Source

View on GitHub

praisonaiagents/memory/adapters/registry.py at line 80

Memory Concept

Memory Overview

Memory Configuration

Session Resume