Skip to content

EpisodicMemoryStrategyInputDict

Dictionary Type

EpisodicMemoryStrategyInputDict

Bases: TypedDict

Dictionary form of EpisodicMemoryStrategyInput.

Attributes

description instance-attribute
description: str | None

The description of the episodic memory strategy.

memory_record_schema instance-attribute
memory_record_schema: MemoryRecordSchema | MemoryRecordSchemaDict | None

Schema for metadata fields on records generated by this strategy.

name instance-attribute
name: Required[str]

The name of the episodic memory strategy.

namespace_templates instance-attribute
namespace_templates: Sequence[str] | None

The namespaceTemplates for which to create episodes.

namespaces instance-attribute
namespaces: Sequence[str] | None

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

record_expiry_specification instance-attribute
record_expiry_specification: RecordExpirySpecification | RecordExpirySpecificationDict | 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 instance-attribute

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