Skip to main content
Factory and manager for per-session episodic memory instances.

Class EpisodicMemoryManagerParams

Parameters for configuring the EpisodicMemoryManager. Attributes: instance_cache_size (int): The maximum number of instances to cache. max_life_time (int): The maximum idle lifetime of an instance in seconds. resource_manager (ResourceManager): The resource manager. session_data_manager (SessionDataManager): The session data manager.
def EpisodicMemoryManagerParams()

Class EpisodicMemoryManager

Manage the lifecycle and access of episodic memory instances. This class is responsible for creating, retrieving, and closing SemanticMemory instances based on a session key. It uses a reference counting mechanism to manage the lifecycle of each memory instance, ensuring that resources are properly released when no longer needed.
def EpisodicMemoryManager(params: EpisodicMemoryManagerParams)
Parameters
NameTypeDescription
paramsEpisodicMemoryManagerParams-