pub struct ReflexPolicy {
pub min_choice_confidence: f32,
pub min_salience: f32,
pub read_floor: f32,
pub write_floor: f32,
pub escalate_at: f32,
pub page_limit: usize,
}Expand description
Thresholds that turn a System 1 answer into a dispatch, an ignore, or an escalation.
Fields§
§min_choice_confidence: f32Choice confidence, and salience confidence, below this escalate.
min_salience: f32Normalized salience below this ignores the stimulus.
read_floor: f32references_prior required before a read action can dispatch.
write_floor: f32should_persist required before a persist action can dispatch.
escalate_at: f32needs_system2 at or above this escalates before any other rule.
page_limit: usizePage size copied onto recall and find payloads.
Trait Implementations§
Source§impl Clone for ReflexPolicy
impl Clone for ReflexPolicy
Source§fn clone(&self) -> ReflexPolicy
fn clone(&self) -> ReflexPolicy
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 moreimpl Copy for ReflexPolicy
Source§impl Debug for ReflexPolicy
impl Debug for ReflexPolicy
Source§impl Default for ReflexPolicy
impl Default for ReflexPolicy
Source§impl<'de> Deserialize<'de> for ReflexPolicy
impl<'de> Deserialize<'de> for ReflexPolicy
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
Source§impl PartialEq for ReflexPolicy
impl PartialEq for ReflexPolicy
Source§impl Serialize for ReflexPolicy
impl Serialize for ReflexPolicy
impl StructuralPartialEq for ReflexPolicy
Auto Trait Implementations§
impl Freeze for ReflexPolicy
impl RefUnwindSafe for ReflexPolicy
impl Send for ReflexPolicy
impl Sync for ReflexPolicy
impl Unpin for ReflexPolicy
impl UnsafeUnpin for ReflexPolicy
impl UnwindSafe for ReflexPolicy
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