SemanticMemoryStrategyInput¶
Structure Class¶
SemanticMemoryStrategyInput
dataclass
¶
Bases: _SerdeShape
Input for creating a semantic memory strategy.
Attributes¶
description
class-attribute
instance-attribute
¶
description: str | None = ...
The description of the semantic memory strategy.
memory_record_schema
class-attribute
instance-attribute
¶
memory_record_schema: MemoryRecordSchema | None = ...
Schema for metadata on memory records generated by a strategy.
namespace_templates
class-attribute
instance-attribute
¶
The namespaceTemplates associated with the semantic memory strategy.
namespaces
class-attribute
instance-attribute
¶
This is a legacy parameter, use namespaceTemplates. The namespaces
associated with the semantic memory strategy.
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.