Enum RagRetrievalMode
pub enum RagRetrievalMode {
TopK,
Threshold,
Filtered,
Hybrid,
Recursive,
MultiQuery,
Custom,
}Variants§
Implementations§
§impl RagRetrievalMode
impl RagRetrievalMode
pub const ALL: &'static [RagRetrievalMode]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for RagRetrievalMode
impl Clone for RagRetrievalMode
§fn clone(&self) -> RagRetrievalMode
fn clone(&self) -> RagRetrievalMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for RagRetrievalMode
impl Debug for RagRetrievalMode
§impl Display for RagRetrievalMode
impl Display for RagRetrievalMode
§impl FromStr for RagRetrievalMode
impl FromStr for RagRetrievalMode
§impl Hash for RagRetrievalMode
impl Hash for RagRetrievalMode
§impl Ord for RagRetrievalMode
impl Ord for RagRetrievalMode
§fn cmp(&self, other: &RagRetrievalMode) -> Ordering
fn cmp(&self, other: &RagRetrievalMode) -> Ordering
1.21.0 · 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
§impl PartialEq for RagRetrievalMode
impl PartialEq for RagRetrievalMode
§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