pub enum FeedbackSignal {
Upvote,
Downvote,
Flag,
Positive,
Negative,
}Expand description
Feedback signal for memory active learning (INT-1).
upvote: Boost importance ×1.15, capped at 1.0.downvote: Penalise importance ×0.85, floor 0.0.flag: Mark as irrelevant — setsdecay_flag=true, no immediate importance change.positive: Backward-compatible alias forupvote.negative: Backward-compatible alias fordownvote.
Variants§
Trait Implementations§
Source§impl Clone for FeedbackSignal
impl Clone for FeedbackSignal
Source§fn clone(&self) -> FeedbackSignal
fn clone(&self) -> FeedbackSignal
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 FeedbackSignal
impl Debug for FeedbackSignal
Source§impl<'de> Deserialize<'de> for FeedbackSignal
impl<'de> Deserialize<'de> for FeedbackSignal
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 FeedbackSignal
impl PartialEq for FeedbackSignal
Source§impl Serialize for FeedbackSignal
impl Serialize for FeedbackSignal
impl Copy for FeedbackSignal
impl Eq for FeedbackSignal
impl StructuralPartialEq for FeedbackSignal
Auto Trait Implementations§
impl Freeze for FeedbackSignal
impl RefUnwindSafe for FeedbackSignal
impl Send for FeedbackSignal
impl Sync for FeedbackSignal
impl Unpin for FeedbackSignal
impl UnsafeUnpin for FeedbackSignal
impl UnwindSafe for FeedbackSignal
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