pub struct RetrievalPlan {
pub terms: Vec<String>,
pub budget_tokens: usize,
pub intent: PlanIntent,
}Expand description
Query plan used by the retriever.
Fields§
§terms: Vec<String>§budget_tokens: usize§intent: PlanIntentTrait Implementations§
Source§impl Clone for RetrievalPlan
impl Clone for RetrievalPlan
Source§fn clone(&self) -> RetrievalPlan
fn clone(&self) -> RetrievalPlan
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 moreAuto Trait Implementations§
impl Freeze for RetrievalPlan
impl RefUnwindSafe for RetrievalPlan
impl Send for RetrievalPlan
impl Sync for RetrievalPlan
impl Unpin for RetrievalPlan
impl UnsafeUnpin for RetrievalPlan
impl UnwindSafe for RetrievalPlan
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