pub struct FeedbackReport {
pub chunk_id: String,
pub delta: i64,
pub score: i64,
pub confidence: f64,
pub confidence_breakdown: ConfidenceBreakdown,
pub access_decay_at: Option<i64>,
}Expand description
Result of a feedback write, shaped for the lantern feedback CLI output.
Carries the signed delta that was applied so callers with custom weights
get something more precise than the up/down label, alongside the new
net score read back from the row and the updated confidence snapshot.
Fields§
§chunk_id: String§delta: i64§score: i64§confidence: f64§confidence_breakdown: ConfidenceBreakdown§access_decay_at: Option<i64>Trait Implementations§
Source§impl Clone for FeedbackReport
impl Clone for FeedbackReport
Source§fn clone(&self) -> FeedbackReport
fn clone(&self) -> FeedbackReport
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 FeedbackReport
impl Debug for FeedbackReport
Auto Trait Implementations§
impl Freeze for FeedbackReport
impl RefUnwindSafe for FeedbackReport
impl Send for FeedbackReport
impl Sync for FeedbackReport
impl Unpin for FeedbackReport
impl UnsafeUnpin for FeedbackReport
impl UnwindSafe for FeedbackReport
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