pub struct ReasonTrace {
pub base: ReasonTraceBase,
pub walk: ReasonTraceWalk,
pub scoring: Vec<ReasonTraceScoreBreakdown>,
pub centroid: ReasonTraceCentroid,
}Expand description
Per-stage observability for one REASON, surfaced on the final frame when
the request opted in with trace = true. trace = true means full
detail — there is no separate knob — so every field below is populated
whenever this struct is present at all. Mirrors RecallTrace’s
per-stage-detail precedent, applied to the outward evidence walk instead
of the retriever fan-out.
Fields§
§base: ReasonTraceBaseThe full HNSW hit set the base observation resolved to, not just the subset that seeded the walk.
walk: ReasonTraceWalkEverything the outward evidence walk touched: considered edges and every prune reason, one bucket per prune point.
scoring: Vec<ReasonTraceScoreBreakdown>Un-collapsed score components for every surviving evidence item.
centroid: ReasonTraceCentroidWhether topic-alignment centroid computation ran, and why not when it didn’t.
Trait Implementations§
Source§impl Clone for ReasonTrace
impl Clone for ReasonTrace
Source§impl Debug for ReasonTrace
impl Debug for ReasonTrace
Source§impl<'de> Deserialize<'de> for ReasonTrace
impl<'de> Deserialize<'de> for ReasonTrace
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 ReasonTrace
impl PartialEq for ReasonTrace
Source§impl Serialize for ReasonTrace
impl Serialize for ReasonTrace
impl StructuralPartialEq for ReasonTrace
Auto Trait Implementations§
impl Freeze for ReasonTrace
impl RefUnwindSafe for ReasonTrace
impl Send for ReasonTrace
impl Sync for ReasonTrace
impl Unpin for ReasonTrace
impl UnsafeUnpin for ReasonTrace
impl UnwindSafe for ReasonTrace
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