Skip to content

MemoryStrategyInput

Union Type

Union Member Types

MemoryStrategyInputSemanticMemoryStrategy dataclass

Bases: _SerdeShape

Input for creating a semantic memory strategy.

Attributes

value instance-attribute

MemoryStrategyInputSummaryMemoryStrategy dataclass

Bases: _SerdeShape

Input for creating a summary memory strategy.

Attributes

value instance-attribute

MemoryStrategyInputUserPreferenceMemoryStrategy dataclass

Bases: _SerdeShape

Input for creating a user preference memory strategy.

Attributes

value instance-attribute

MemoryStrategyInputCustomMemoryStrategy dataclass

Bases: _SerdeShape

Input for creating a custom memory strategy.

Attributes

value instance-attribute

MemoryStrategyInputEpisodicMemoryStrategy dataclass

Bases: _SerdeShape

Input for creating an episodic memory strategy

Attributes

value instance-attribute

MemoryStrategyInputUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str