pub struct RecallOptions {Show 20 fields
pub run_id: Option<String>,
pub query: String,
pub schema: Option<String>,
pub mode: String,
pub direct_lane: String,
pub include_linked_runs: bool,
pub limit: u64,
pub embedding: Vec<f32>,
pub entry_types: Vec<String>,
pub include_working_memory: bool,
pub user_id: Option<String>,
pub agent_id: Option<String>,
pub lane: Option<String>,
pub min_timestamp: Option<i64>,
pub max_timestamp: Option<i64>,
pub budget: Option<String>,
pub rank_by: Option<String>,
pub explain: Option<bool>,
pub prefer_current_run: Option<bool>,
pub evidence_only: Option<bool>,
}Fields§
§run_id: Option<String>§query: String§schema: Option<String>§mode: String§direct_lane: String§include_linked_runs: bool§limit: u64§embedding: Vec<f32>§entry_types: Vec<String>§include_working_memory: bool§user_id: Option<String>§agent_id: Option<String>§lane: Option<String>§min_timestamp: Option<i64>Temporal range filter lower bound (unix seconds, inclusive).
max_timestamp: Option<i64>Temporal range filter upper bound (unix seconds, inclusive).
budget: Option<String>Search budget tier: “low”, “mid”, “high”.
rank_by: Option<String>Ranking strategy: “relevance” (default), “freshness”, “balanced”.
explain: Option<bool>When true, evidence items include an explain_info block detailing score components.
prefer_current_run: Option<bool>When true, only evidence from the current run is returned. Cross-run
session-scoped lessons (lesson_overlay) are skipped. Defaults to
None / false — cross-run lesson retrieval is the intended
behavior for durable learning; opt into strict scoping here.
evidence_only: Option<bool>When true, skip LLM answer synthesis entirely and return evidence only
(final_answer empty, summary “evidence_only”). Saves the per-query
LLM call for machine consumers of the evidence list.
Implementations§
Trait Implementations§
Source§impl Clone for RecallOptions
impl Clone for RecallOptions
Source§fn clone(&self) -> RecallOptions
fn clone(&self) -> RecallOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for RecallOptions
impl RefUnwindSafe for RecallOptions
impl Send for RecallOptions
impl Sync for RecallOptions
impl Unpin for RecallOptions
impl UnsafeUnpin for RecallOptions
impl UnwindSafe for RecallOptions
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request