pub struct ReflectionBoostReport {
pub boost: f32,
pub per_depth_increment: f32,
pub max_depth_cap: u32,
}Expand description
v0.7.0 L2-8 — per-field report of the reflection-aware reranker
boost surfaced through memory_capabilities. Mirrors
crate::reranker::ReflectionBoostConfig but expressed in
capability-report shape (serde-friendly, schema-tagged).
Fields§
§boost: f32Multiplicative boost applied to reflection-kind memories.
1.0 disables; default 1.2.
per_depth_increment: f32Per-depth additional multiplier increment. Default 0.05.
max_depth_cap: u32Depth cap for the per-depth multiplier. Default 3.
Trait Implementations§
Source§impl Clone for ReflectionBoostReport
impl Clone for ReflectionBoostReport
Source§fn clone(&self) -> ReflectionBoostReport
fn clone(&self) -> ReflectionBoostReport
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 moreimpl Copy for ReflectionBoostReport
Source§impl Debug for ReflectionBoostReport
impl Debug for ReflectionBoostReport
Source§impl Default for ReflectionBoostReport
impl Default for ReflectionBoostReport
Source§impl<'de> Deserialize<'de> for ReflectionBoostReport
impl<'de> Deserialize<'de> for ReflectionBoostReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&ReflectionBoostConfig> for ReflectionBoostReport
impl From<&ReflectionBoostConfig> for ReflectionBoostReport
Source§fn from(cfg: &ReflectionBoostConfig) -> Self
fn from(cfg: &ReflectionBoostConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReflectionBoostReport
impl PartialEq for ReflectionBoostReport
Source§fn eq(&self, other: &ReflectionBoostReport) -> bool
fn eq(&self, other: &ReflectionBoostReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReflectionBoostReport
impl Serialize for ReflectionBoostReport
impl StructuralPartialEq for ReflectionBoostReport
Auto Trait Implementations§
impl Freeze for ReflectionBoostReport
impl RefUnwindSafe for ReflectionBoostReport
impl Send for ReflectionBoostReport
impl Sync for ReflectionBoostReport
impl Unpin for ReflectionBoostReport
impl UnsafeUnpin for ReflectionBoostReport
impl UnwindSafe for ReflectionBoostReport
Blanket Implementations§
impl<T> Boilerplate for T
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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