Skip to content

EpisodicMemoryStrategyInput

Structure Class

EpisodicMemoryStrategyInput dataclass

Bases: _SerdeShape

Input for creating an episodic memory strategy.

Attributes

description class-attribute instance-attribute
description: str | None = ...

The description of the episodic memory strategy.

memory_record_schema class-attribute instance-attribute
memory_record_schema: MemoryRecordSchema | None = ...

Schema for metadata fields on records generated by this strategy.

name instance-attribute
name: str

The name of the episodic memory strategy.

namespace_templates class-attribute instance-attribute
namespace_templates: list[str] | None = ...

The namespaceTemplates for which to create episodes.

namespaces class-attribute instance-attribute
namespaces: list[str] | None = ...

This is a legacy parameter, use namespaceTemplates. The namespaces for which to create episodes.

record_expiry_specification class-attribute instance-attribute
record_expiry_specification: RecordExpirySpecification | None = ...

The record expiry (long-term memory time-to-live) configuration for memory records generated by this strategy. Set recordExpiryDurationDays to the number of days after which records expire. If not specified, records generated by this strategy do not expire.

reflection_configuration class-attribute instance-attribute
reflection_configuration: EpisodicReflectionConfigurationInput | None = ...

The configuration for the reflections created with the episodic memory strategy.