pub struct MemoryConfig {Show 13 fields
pub enabled: bool,
pub max_recall: usize,
pub auto_summarize: bool,
pub capture_compaction: bool,
pub retention_days: u32,
pub cache_enabled: bool,
pub cache_ttl_secs: u64,
pub cache_max_entries: usize,
pub consolidation: ConsolidationConfig,
pub sqlite: SqliteMemoryConfig,
pub embedding: EmbeddingConfig,
pub learning: LearningConfig,
pub bridge: MemoryBridgeConfig,
}Expand description
Memory system configuration.
Fields§
§enabled: boolEnable the memory system.
max_recall: usizeMaximum memories returned by recall.
auto_summarize: boolAuto-summarize sessions on completion.
capture_compaction: boolCapture compaction summaries as conversation memory.
retention_days: u32Memory retention in days (0 = unlimited).
cache_enabled: boolEnable embedding cache.
cache_ttl_secs: u64Embedding cache TTL in seconds.
cache_max_entries: usizeMaximum embedding cache entries.
consolidation: ConsolidationConfigConsolidation configuration (RFC-008).
sqlite: SqliteMemoryConfigSQLite memory storage configuration (RFC-012).
embedding: EmbeddingConfigEmbedding provider configuration (RFC-012).
learning: LearningConfigLearning configuration (RFC-012 Phase 4: SONA).
bridge: MemoryBridgeConfigAutoMemoryBridge configuration (RFC-012 Phase 7: SQLite ↔ MEMORY.md sync).
Trait Implementations§
Source§impl Clone for MemoryConfig
impl Clone for MemoryConfig
Source§fn clone(&self) -> MemoryConfig
fn clone(&self) -> MemoryConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryConfig
impl Debug for MemoryConfig
Source§impl Default for MemoryConfig
impl Default for MemoryConfig
Source§impl<'de> Deserialize<'de> for MemoryConfig
impl<'de> Deserialize<'de> for MemoryConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MemoryConfig
impl RefUnwindSafe for MemoryConfig
impl Send for MemoryConfig
impl Sync for MemoryConfig
impl Unpin for MemoryConfig
impl UnsafeUnpin for MemoryConfig
impl UnwindSafe for MemoryConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more