pub struct SidecarConfig {
pub enabled: bool,
pub min_confidence: f32,
pub min_score: f32,
pub timeout_ms: u64,
pub reinforce_on_check: bool,
pub reinforce_pass_score: f32,
pub reinforce_fail_score: f32,
}Expand description
Configuration for the memory sidecar relevance check.
Fields§
§enabled: bool§min_confidence: f32Minimum confidence to pass the entry through to the LLM for relevance check. Entries below this are pre-filtered.
min_score: f32Minimum relevance score from the LLM to keep a memory entry.
timeout_ms: u64Timeout for the LLM relevance check.
reinforce_on_check: boolIf true, reinforce entries that pass relevance check (positive) and decay entries that fail (negative).
reinforce_pass_score: f32Reinforcement score for passing entries.
reinforce_fail_score: f32Reinforcement score for failing entries.
Trait Implementations§
Source§impl Clone for SidecarConfig
impl Clone for SidecarConfig
Source§fn clone(&self) -> SidecarConfig
fn clone(&self) -> SidecarConfig
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 SidecarConfig
impl Debug for SidecarConfig
Auto Trait Implementations§
impl Freeze for SidecarConfig
impl RefUnwindSafe for SidecarConfig
impl Send for SidecarConfig
impl Sync for SidecarConfig
impl Unpin for SidecarConfig
impl UnsafeUnpin for SidecarConfig
impl UnwindSafe for SidecarConfig
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