pub struct RecallInput {Show 13 fields
pub message: String,
pub prior_messages: Vec<String>,
pub budget_tokens: u32,
pub exclude: Vec<String>,
pub scope: Vec<String>,
pub scope_only: Vec<String>,
pub scope_all: bool,
pub format: RecallFormat,
pub depth: u8,
pub min_confidence: f64,
pub fast: bool,
pub diagnostics: bool,
pub deadline_ms: Option<u64>,
}Expand description
Context recall request.
Fields§
§message: StringThe current user message to recall context for.
prior_messages: Vec<String>Prior conversation turns (last N user/assistant messages) fed to expansion.
budget_tokens: u32Token budget for the response payload (default 2000).
exclude: Vec<String>Vault paths to exclude from all retrieval sections.
scope: Vec<String>Scope names to include (additive).
scope_only: Vec<String>Scope names to search exclusively.
scope_all: boolInclude every configured scope, overriding default = false.
format: RecallFormatOutput format.
depth: u8Link graph traversal depth for linked_context (1-3, default 1).
min_confidence: f64Minimum evidence_score threshold; below this, return skipped=true (default 0.0).
fast: boolSkip expansion and rerank (fast lexical-only path).
diagnostics: boolInclude recall stage diagnostics in JSON output.
deadline_ms: Option<u64>Optional wall-clock deadline for hook-style recall orchestration.
Trait Implementations§
Source§impl Clone for RecallInput
impl Clone for RecallInput
Source§fn clone(&self) -> RecallInput
fn clone(&self) -> RecallInput
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 RecallInput
impl Debug for RecallInput
Source§impl Default for RecallInput
impl Default for RecallInput
Source§impl<'de> Deserialize<'de> for RecallInput
impl<'de> Deserialize<'de> for RecallInput
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 RecallInput
impl PartialEq for RecallInput
Source§fn eq(&self, other: &RecallInput) -> bool
fn eq(&self, other: &RecallInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RecallInput
impl Serialize for RecallInput
impl StructuralPartialEq for RecallInput
Auto Trait Implementations§
impl Freeze for RecallInput
impl RefUnwindSafe for RecallInput
impl Send for RecallInput
impl Sync for RecallInput
impl Unpin for RecallInput
impl UnsafeUnpin for RecallInput
impl UnwindSafe for RecallInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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