pub struct RecallInput {
pub query: String,
pub max_results: Option<u32>,
pub subject: Option<String>,
pub include_trace: Option<bool>,
}Expand description
recall input.
Fields§
§query: String§max_results: Option<u32>§subject: Option<String>§include_trace: Option<bool>Return Brain’s read-pipeline trace as RecallResult::trace — which
retrievers ran, how they were fused, what the filter chain dropped,
what the reranker moved. Several KB per call, so leave it off in hot
paths and switch it on when chasing a bad answer. Served by the cloud
gateway; a server without it ignores the field and returns no trace.
Trait Implementations§
Source§impl Clone for RecallInput
impl Clone for RecallInput
Source§impl Debug for RecallInput
impl Debug for RecallInput
Source§impl Default for RecallInput
impl Default 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