pub enum ConfidenceBehavior {
ActImmediately,
ActAndLog,
ActCautiously,
PauseAndNotify,
}Expand description
What behavior the agent should exhibit given a confidence score.
Variants§
ActImmediately
0.9-1.0: Act immediately, no hesitation.
ActAndLog
0.7-0.9: Act and log for review.
ActCautiously
0.5-0.7: Act cautiously, verify result.
PauseAndNotify
Below 0.5: Pause, notify user, wait for instruction.
Trait Implementations§
Source§impl Clone for ConfidenceBehavior
impl Clone for ConfidenceBehavior
Source§fn clone(&self) -> ConfidenceBehavior
fn clone(&self) -> ConfidenceBehavior
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 ConfidenceBehavior
impl Debug for ConfidenceBehavior
Source§impl PartialEq for ConfidenceBehavior
impl PartialEq for ConfidenceBehavior
Source§fn eq(&self, other: &ConfidenceBehavior) -> bool
fn eq(&self, other: &ConfidenceBehavior) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfidenceBehavior
Auto Trait Implementations§
impl Freeze for ConfidenceBehavior
impl RefUnwindSafe for ConfidenceBehavior
impl Send for ConfidenceBehavior
impl Sync for ConfidenceBehavior
impl Unpin for ConfidenceBehavior
impl UnsafeUnpin for ConfidenceBehavior
impl UnwindSafe for ConfidenceBehavior
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