pub struct RecallMeta {
pub recall_mode: String,
pub reranker_used: String,
pub candidate_counts: CandidateCounts,
pub blend_weight: f64,
}Expand description
v0.6.3.1 (P3): per-request observability for the recall pipeline.
Surfaces which recall path actually ran, which reranker was active,
the candidate pool sizes coming out of FTS and HNSW (before fusion), and
the blend weight applied to the semantic component. Always present in
memory_recall responses; older clients ignore unknown fields per the
JSON-RPC convention.
Closes G2/G8/G11 from the v0.6.3 audit by making every silent-degrade path observable at request time. The capabilities surface (P1) reports the same state at startup; this struct is the per-call mirror.
Fields§
§recall_mode: StringWhich recall path executed.
"hybrid"— embedder + FTS, blended (G11 happy path)."keyword_only"— embedder unavailable or query-embed failed, keyword-only recall served (G11 silent-degrade now visible).
reranker_used: StringWhich reranker scored the final ordering.
"neural"— BERT cross-encoder (autonomous tier, model loaded)."lexical"— operator opted for the lexical variant, or the tier never asked for a neural cross-encoder."degraded_lexical"— v0.7.0 R3-S2 — a configured neural cross-encoder failed to initialise or errored mid-flight and the runtime fell back. Distinct from"lexical"so clients can detect the silent downgrade in band (previously this was only atracing::warn!event, which the G8 closure claim overstated as “fail loud”)."none"— reranking disabled at this tier.
candidate_counts: CandidateCountsCandidate-pool sizes coming out of each retrieval stage before fusion. Useful for spotting empty-FTS or empty-HNSW degradations.
blend_weight: f64Semantic blend weight applied during fusion. 0.0 for
keyword_only mode; otherwise the average semantic weight across
the returned candidates (varies 0.50→0.15 with content length).
Trait Implementations§
Source§impl Clone for RecallMeta
impl Clone for RecallMeta
Source§fn clone(&self) -> RecallMeta
fn clone(&self) -> RecallMeta
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RecallMeta
impl Debug for RecallMeta
Auto Trait Implementations§
impl Freeze for RecallMeta
impl RefUnwindSafe for RecallMeta
impl Send for RecallMeta
impl Sync for RecallMeta
impl Unpin for RecallMeta
impl UnsafeUnpin for RecallMeta
impl UnwindSafe for RecallMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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>
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>
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