ModifyMemoryStrategyInput¶
Structure Class¶
ModifyMemoryStrategyInput
dataclass
¶
Bases: _SerdeShape
Input for modifying a memory strategy.
Attributes¶
configuration
class-attribute
instance-attribute
¶
configuration: ModifyStrategyConfiguration | None = ...
The updated configuration for the memory strategy.
description
class-attribute
instance-attribute
¶
description: str | None = ...
The updated description of the memory strategy.
memory_record_schema
class-attribute
instance-attribute
¶
memory_record_schema: MemoryRecordSchema | None = ...
Updated metadata schema for records generated by this strategy.
memory_strategy_id
instance-attribute
¶
memory_strategy_id: str
The unique identifier of the memory strategy to modify.
namespace_templates
class-attribute
instance-attribute
¶
The updated namespaceTemplates for the memory strategy.
namespaces
class-attribute
instance-attribute
¶
This is a legacy parameter, use namespaceTemplates. The updated
namespaces for the memory strategy.
record_expiry_specification
class-attribute
instance-attribute
¶
record_expiry_specification: RecordExpirySpecification | None = ...
Updates or removes the record expiry (long-term memory time-to-live) for
this strategy. Set recordExpiryDurationDays to configure or update the
number of days after which records expire, or set action to REMOVE
to remove a previously configured time-to-live so that newer records no
longer expire. The change applies only to records created after the
update.