pub struct RecallPlanner { /* private fields */ }Implementations§
Source§impl RecallPlanner
impl RecallPlanner
pub fn from_engine_config(config: &EngineConfig) -> Self
pub fn with_scorer( profile: RecallPlanningProfile, graph_expansion_max_hops: u8, scorer: ConfiguredRecallScorer, ) -> Self
pub fn scorer(&self) -> ConfiguredRecallScorer
pub fn effective_profile(&self, query: &RecallQuery) -> RecallPlanningProfile
pub fn plan( &self, records: &[MemoryRecord], query: &RecallQuery, ) -> Vec<PlannedRecallCandidate>
pub fn plan_with_metrics( &self, records: &[MemoryRecord], query: &RecallQuery, ) -> (Vec<PlannedRecallCandidate>, RecallPlannerMetrics)
Trait Implementations§
Source§impl Clone for RecallPlanner
impl Clone for RecallPlanner
Source§fn clone(&self) -> RecallPlanner
fn clone(&self) -> RecallPlanner
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 RecallPlanner
impl !RefUnwindSafe for RecallPlanner
impl Send for RecallPlanner
impl Sync for RecallPlanner
impl Unpin for RecallPlanner
impl UnsafeUnpin for RecallPlanner
impl !UnwindSafe for RecallPlanner
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