pub struct RetrievalDoc {Show 18 fields
pub tiers: TierWeights,
pub rrf_k: u32,
pub max_facts: u32,
pub quotas: BTreeMap<FactKindId, u32>,
pub links_weight: f64,
pub search_max_df: f64,
pub search_quorum: f64,
pub search_retry_quorum: f64,
pub search_quorum_over: QuorumUnit,
pub alias_min_sim: f64,
pub max_subjects: u32,
pub fill_order: FillOrder,
pub linked_share: f64,
pub min_fused_score: f64,
pub context_share: f64,
pub usage_weight: f64,
pub usage_min_recalls: u32,
pub extension_max_candidates: u32,
}Expand description
retrieval.yaml.
Fields§
§tiers: TierWeights§rrf_k: u32§max_facts: u32§quotas: BTreeMap<FactKindId, u32>§links_weight: f64§search_max_df: f64§search_quorum: f64§search_retry_quorum: f64§search_quorum_over: QuorumUnit§alias_min_sim: f64§max_subjects: u32§fill_order: FillOrder§min_fused_score: f64§usage_weight: f64§usage_min_recalls: u32§extension_max_candidates: u32Trait Implementations§
Source§impl Clone for RetrievalDoc
impl Clone for RetrievalDoc
Source§impl Debug for RetrievalDoc
impl Debug for RetrievalDoc
Source§impl Default for RetrievalDoc
impl Default for RetrievalDoc
Source§impl<'de> Deserialize<'de> for RetrievalDocwhere
RetrievalDoc: Default,
impl<'de> Deserialize<'de> for RetrievalDocwhere
RetrievalDoc: Default,
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 PartialEq for RetrievalDoc
impl PartialEq for RetrievalDoc
Source§impl Serialize for RetrievalDoc
impl Serialize for RetrievalDoc
impl StructuralPartialEq for RetrievalDoc
Auto Trait Implementations§
impl Freeze for RetrievalDoc
impl RefUnwindSafe for RetrievalDoc
impl Send for RetrievalDoc
impl Sync for RetrievalDoc
impl Unpin for RetrievalDoc
impl UnsafeUnpin for RetrievalDoc
impl UnwindSafe for RetrievalDoc
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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