pub struct RecallResponse {
pub query: String,
pub k: usize,
pub direct_matches: Vec<RecallItem>,
pub graph_matches: Vec<RecallItem>,
pub results: Vec<RecallItem>,
pub elapsed_ms: u64,
pub vec_degraded: bool,
pub vec_error: Option<String>,
pub warning: Option<String>,
}Expand description
Full response envelope returned by the recall subcommand.
Contains both direct vector matches and graph-traversal matches, plus the
aggregated results list that merges both for callers that do not need
to distinguish the source.
Fields§
§query: String§k: usize§direct_matches: Vec<RecallItem>§graph_matches: Vec<RecallItem>§results: Vec<RecallItem>Aggregated alias of direct_matches + graph_matches for the contract documented in SKILL.md.
elapsed_ms: u64Total execution time in milliseconds from handler start to serialisation.
vec_degraded: boolG58 (v1.0.80): true when the live query embedding failed and the
handler fell back to FTS5 BM25 + LIKE prefix. Symmetric to
fts_degraded in hybrid-search. Absent on the wire when false.
vec_error: Option<String>G58 (v1.0.80): human-readable description of the embedding failure
that triggered the fallback. Absent on the wire when vec_degraded
is false or the failure had no message.
warning: Option<String>G58 (v1.0.80): advisory warning echoed for callers that branch on top-level status. Distinguishes a FTS5-only fallback from a clean hybrid response so downstream pipelines can lower their confidence.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecallResponse
impl RefUnwindSafe for RecallResponse
impl Send for RecallResponse
impl Sync for RecallResponse
impl Unpin for RecallResponse
impl UnsafeUnpin for RecallResponse
impl UnwindSafe for RecallResponse
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
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