Interface MessageWindowChatMemoryConfiguration
- All Known Implementing Classes:
MessageWindowChatMemoryConfigurationProperties
public interface MessageWindowChatMemoryConfiguration
Configuration for
MessageWindowChatMemory
.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Default number of max messages. -
Method Summary
-
Field Details
-
DEFAULT_MAX_MESSAGES
static final int DEFAULT_MAX_MESSAGESDefault number of max messages.- See Also:
-
-
Method Details
-
getMaxMessages
- Returns:
- The maximum number of messages to retain. If there isn't enough space for a new message, the oldest one is evicted.
-