pub enum RagRetrievalMode {
TopK,
Threshold,
Filtered,
Hybrid,
Recursive,
MultiQuery,
Custom,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RagRetrievalMode
impl Clone for RagRetrievalMode
Source§fn clone(&self) -> RagRetrievalMode
fn clone(&self) -> RagRetrievalMode
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 RagRetrievalMode
impl Debug for RagRetrievalMode
Source§impl Display for RagRetrievalMode
impl Display for RagRetrievalMode
Source§impl FromStr for RagRetrievalMode
impl FromStr for RagRetrievalMode
Source§impl Hash for RagRetrievalMode
impl Hash for RagRetrievalMode
Source§impl Ord for RagRetrievalMode
impl Ord for RagRetrievalMode
Source§fn cmp(&self, other: &RagRetrievalMode) -> Ordering
fn cmp(&self, other: &RagRetrievalMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RagRetrievalMode
impl PartialEq for RagRetrievalMode
Source§fn eq(&self, other: &RagRetrievalMode) -> bool
fn eq(&self, other: &RagRetrievalMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RagRetrievalMode
impl PartialOrd for RagRetrievalMode
impl Copy for RagRetrievalMode
impl Eq for RagRetrievalMode
impl StructuralPartialEq for RagRetrievalMode
Auto Trait Implementations§
impl Freeze for RagRetrievalMode
impl RefUnwindSafe for RagRetrievalMode
impl Send for RagRetrievalMode
impl Sync for RagRetrievalMode
impl Unpin for RagRetrievalMode
impl UnsafeUnpin for RagRetrievalMode
impl UnwindSafe for RagRetrievalMode
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