pub struct VisualConfig {
pub tagging_significance_threshold: f64,
pub emotional_retention_threshold: f64,
pub emotional_decay_reduction: f64,
pub base_decay_rate: f64,
pub stale_threshold_days: u32,
pub significance_floor: f64,
pub pruning_threshold: f64,
pub pruning_stale_days: u32,
pub preserve_keyframes: bool,
}Expand description
Configuration for visual memory operations.
Fields§
§tagging_significance_threshold: f64Significance threshold for automatic tagging
emotional_retention_threshold: f64Minimum emotional arousal to boost retention
emotional_decay_reduction: f64How much emotional arousal reduces decay rate (0-1)
base_decay_rate: f64Decay rate for visual memories (per day after threshold)
stale_threshold_days: u32Days before decay begins
significance_floor: f64Minimum significance floor (never drops below this)
pruning_threshold: f64Pruning threshold - memories below this may be pruned
pruning_stale_days: u32Maximum days since access before considering for pruning
preserve_keyframes: boolWhether to preserve video keyframes from pruning
Trait Implementations§
Source§impl Clone for VisualConfig
impl Clone for VisualConfig
Source§fn clone(&self) -> VisualConfig
fn clone(&self) -> VisualConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 VisualConfig
impl Debug for VisualConfig
Source§impl Default for VisualConfig
impl Default for VisualConfig
Source§impl<'de> Deserialize<'de> for VisualConfig
impl<'de> Deserialize<'de> for VisualConfig
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 VisualConfig
impl RefUnwindSafe for VisualConfig
impl Send for VisualConfig
impl Sync for VisualConfig
impl Unpin for VisualConfig
impl UnsafeUnpin for VisualConfig
impl UnwindSafe for VisualConfig
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