Package com.tnsai.memory.strategy
package com.tnsai.memory.strategy
Memory management strategies for conversation history within token budgets.
-
ClassDescriptionHybrid memory strategy combining sliding window and summarization.Builder for HybridStrategy.Conversation memory with automatic strategy-based management.Builder for ManagedConversationMemory.Memory statistics.A single memory entry with tier, strength, provenance, and versioning.Strategy for managing conversation memory within token limits.Tiers in the memory consolidation pipeline.Sliding window memory strategy that keeps the most recent messages.Builder for SlidingWindowStrategy.Memory strategy that summarizes old messages to save tokens.Builder for SummaryStrategy.Loads conversation context in tiers with token budgets.Builder for TieredContextLoader.Functional interface for summarizing a list of messages.Result of tiered context loading.Configuration for tier token budgets.4-tier memory store with Ebbinghaus-inspired decay and promotion.Result of a consolidation cycle.Configuration for token budget management.Builder for TokenBudget.