Skip to content

SummaryMemoryStrategyInputDict

Dictionary Type

SummaryMemoryStrategyInputDict

Bases: TypedDict

Dictionary form of SummaryMemoryStrategyInput.

Attributes

description instance-attribute
description: str | None

The description of the summary 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 summary memory strategy.

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

The namespaceTemplates associated with the summary memory strategy.

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

This is a legacy parameter, use namespaceTemplates. The namespaces associated with the summary memory strategy.

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.