Structsยง
- Conversation
Buffer Memory - A memory strategy that stores the full conversation buffer.
- Conversation
Summary Buffer Memory - Hybrid memory strategy: keeps recent messages verbatim and summarizes
older messages when total estimated tokens exceed
max_token_limit. - Conversation
Summary Memory - A memory strategy that summarizes older messages using a ChatModel.
- Conversation
Token Buffer Memory - A memory strategy that keeps messages within a token budget.
- Conversation
Window Memory - A memory strategy that keeps only the last
window_sizemessages. - File
Chat Message History - A chat message history backed by a JSON file on disk.
- InMemory
Store - In-memory implementation of
MemoryStore, storing messages keyed by session ID. - Runnable
With Message History - Wraps a
Runnable<Vec<Message>, String>with automatic message history load/save from aMemoryStore.