pub struct DreamConfig {Show 27 fields
pub dream_enabled: bool,
pub dream_interval_hours: u64,
pub dream_min_sessions: u32,
pub hot_max_entries: usize,
pub warm_max_entries: usize,
pub cold_max_entries: usize,
pub hot_token_budget: usize,
pub decay_threshold: f32,
pub retention_days: u32,
pub decay_multiplier: f32,
pub auto_protection: bool,
pub protection_low_access: u32,
pub protection_medium_access: u32,
pub protection_high_access: u32,
pub protection_medium_sessions: u32,
pub protection_high_sessions: u32,
pub protection_demotion_enabled: bool,
pub protection_demotion_stale_days: u32,
pub auto_classification: bool,
pub type_promotion_repetitions: u32,
pub compaction_line_threshold: usize,
pub proactive_recall_limit: usize,
pub proactive_recall_threshold: f32,
pub pagerank_enabled: bool,
pub pagerank_damping: f64,
pub pagerank_iterations: usize,
pub pagerank_boost_factor: f32,
}Expand description
Configuration extracted for Dream use.
Fields§
§dream_enabled: bool§dream_interval_hours: u64§dream_min_sessions: u32§hot_max_entries: usize§warm_max_entries: usize§cold_max_entries: usize§hot_token_budget: usize§decay_threshold: f32§retention_days: u32§decay_multiplier: f32§auto_protection: bool§protection_low_access: u32§protection_medium_access: u32§protection_high_access: u32§protection_medium_sessions: u32§protection_high_sessions: u32§protection_demotion_enabled: bool§protection_demotion_stale_days: u32§auto_classification: bool§type_promotion_repetitions: u32§compaction_line_threshold: usize§proactive_recall_limit: usize§proactive_recall_threshold: f32§pagerank_enabled: boolEnable PageRank-based importance boost (Phase 2).
pagerank_damping: f64PageRank damping factor (typically 0.85).
pagerank_iterations: usizePageRank iteration count (typically 20-50).
pagerank_boost_factor: f32How much PageRank score influences importance (0.0–1.0).
Trait Implementations§
Source§impl Clone for DreamConfig
impl Clone for DreamConfig
Source§fn clone(&self) -> DreamConfig
fn clone(&self) -> DreamConfig
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 DreamConfig
impl Debug for DreamConfig
Source§impl Default for DreamConfig
impl Default for DreamConfig
Source§fn default() -> DreamConfig
fn default() -> DreamConfig
Returns the “default value” for a type. Read more
Source§impl From<&ConsolidationConfig> for DreamConfig
impl From<&ConsolidationConfig> for DreamConfig
Source§fn from(c: &ConsolidationConfig) -> Self
fn from(c: &ConsolidationConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DreamConfig
impl RefUnwindSafe for DreamConfig
impl Send for DreamConfig
impl Sync for DreamConfig
impl Unpin for DreamConfig
impl UnsafeUnpin for DreamConfig
impl UnwindSafe for DreamConfig
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