pub struct HybridWeights {
pub semantic: f32,
pub lexical: f32,
pub graph: f32,
pub freshness: f32,
pub confidence: f32,
pub provenance: f32,
}Expand description
Weights of the fused score. Defaults are the daemon’s calibrated values and sum to 1.0.
Fields§
§semantic: f32§lexical: f32§graph: f32Entity-graph match, from crate::MemoryStore::fact_graph_scores.
Stays 0 for a store with no graph.
freshness: f32§confidence: f32§provenance: f32Implementations§
Trait Implementations§
Source§impl Clone for HybridWeights
impl Clone for HybridWeights
impl Copy for HybridWeights
Source§impl Debug for HybridWeights
impl Debug for HybridWeights
Source§impl Default for HybridWeights
impl Default for HybridWeights
Source§impl PartialEq for HybridWeights
impl PartialEq for HybridWeights
impl StructuralPartialEq for HybridWeights
Auto Trait Implementations§
impl Forget for HybridWeights
impl Freeze for HybridWeights
impl Move for HybridWeights
impl RefUnwindSafe for HybridWeights
impl Send for HybridWeights
impl Sync for HybridWeights
impl Unpin for HybridWeights
impl UnsafeUnpin for HybridWeights
impl UnwindSafe for HybridWeights
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