pub struct AiMemoryConfig {
pub enable_summarization: bool,
pub enable_conflict_detection: bool,
pub enable_quality_assessment: bool,
pub enable_merging: bool,
pub summarize_threshold: usize,
pub quality_threshold: f64,
pub merge_similarity_threshold: f64,
}Expand description
Configuration for AI-enhanced memory processing.
Fields§
§enable_summarization: boolEnable AI summarization.
enable_conflict_detection: boolEnable AI conflict detection.
enable_quality_assessment: boolEnable AI quality assessment.
enable_merging: boolEnable AI memory merging.
summarize_threshold: usizeMinimum memories to trigger summarization.
quality_threshold: f64Quality threshold for keeping memories.
merge_similarity_threshold: f64Similarity threshold for merging.
Implementations§
Trait Implementations§
Source§impl Clone for AiMemoryConfig
impl Clone for AiMemoryConfig
Source§fn clone(&self) -> AiMemoryConfig
fn clone(&self) -> AiMemoryConfig
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 AiMemoryConfig
impl Debug for AiMemoryConfig
Source§impl Default for AiMemoryConfig
impl Default for AiMemoryConfig
Source§impl<'de> Deserialize<'de> for AiMemoryConfig
impl<'de> Deserialize<'de> for AiMemoryConfig
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 AiMemoryConfig
impl RefUnwindSafe for AiMemoryConfig
impl Send for AiMemoryConfig
impl Sync for AiMemoryConfig
impl Unpin for AiMemoryConfig
impl UnsafeUnpin for AiMemoryConfig
impl UnwindSafe for AiMemoryConfig
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