pub struct RetrievalSection {
pub level: String,
}Expand description
Retrieval pipeline preset. A single level knob bundles the retrieval
stack so users do not have to tune the embedder, reranker, and HyDE
individually. Resolved into [embedder] (+ a HyDE flag) at config-load
time by ProjectConfig::apply_retrieval_level /
ProjectConfig::hyde_from_level.
Fields§
§level: StringRetrieval pipeline preset: “basic” | “flexible” | “deep” | “advanced” | “custom”.
Trait Implementations§
Source§impl Clone for RetrievalSection
impl Clone for RetrievalSection
Source§fn clone(&self) -> RetrievalSection
fn clone(&self) -> RetrievalSection
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 moreSource§impl Debug for RetrievalSection
impl Debug for RetrievalSection
Source§impl Default for RetrievalSection
impl Default for RetrievalSection
Source§impl<'de> Deserialize<'de> for RetrievalSection
impl<'de> Deserialize<'de> for RetrievalSection
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
Auto Trait Implementations§
impl Freeze for RetrievalSection
impl RefUnwindSafe for RetrievalSection
impl Send for RetrievalSection
impl Sync for RetrievalSection
impl Unpin for RetrievalSection
impl UnsafeUnpin for RetrievalSection
impl UnwindSafe for RetrievalSection
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