pub struct RecEvent {
pub ts: u128,
pub session: String,
pub stage: String,
pub prompt: String,
pub considered: Vec<Ranked>,
pub candidates: Vec<Cand>,
pub injected: Vec<Cand>,
pub abstained: Option<String>,
}Expand description
A single recommend event, fully parsed for the --tail listing.
Fields§
§ts: u128§session: String§stage: String§prompt: String§considered: Vec<Ranked>The pre-gate ranking ski considered (top-K, id + raw stage score). Present
on every prompt, including abstentions — the field the --compare view
joins a native pick against. Empty for events logged before this field.
candidates: Vec<Cand>Every candidate that cleared the gate.
injected: Vec<Cand>The subset that fit the char budget and was actually injected.
abstained: Option<String>Why nothing was injected (below_gate, empty_text), or None on a
successful inject.
Trait Implementations§
impl StructuralPartialEq for RecEvent
Auto Trait Implementations§
impl Freeze for RecEvent
impl RefUnwindSafe for RecEvent
impl Send for RecEvent
impl Sync for RecEvent
impl Unpin for RecEvent
impl UnsafeUnpin for RecEvent
impl UnwindSafe for RecEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more