ChatMemoryConfig

Configuration for the ChatMemory feature.

Allows configuring how conversation history is stored and loaded for agent-user interactions.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

A provider responsible for persisting and retrieving conversation history.

Link copied to clipboard
Link copied to clipboard

Ordered list of preprocessors applied to messages when loading from and storing to history.

Functions

Link copied to clipboard
Link copied to clipboard

Adds a ChatMemoryPreProcessor to the preprocessing chain.

Link copied to clipboard

Sets the ChatHistoryProvider and returns this config for fluent chaining.

Link copied to clipboard

Adds a FilterMessagesPreProcessor that keeps only messages matching the given predicate.

Link copied to clipboard
Link copied to clipboard

Adds a WindowSizePreProcessor that limits messages to the most recent size entries.