pub enum RelevanceSource {
Rrf,
Rerank,
}Expand description
Which relevance term fed the confidence blend.
Variants§
Rrf
Normalized Reciprocal Rank Fusion score (cloud default, rerank=false).
Rerank
Voyage relevance score (server inline or client BYOK), rerank=true.
Trait Implementations§
Source§impl Clone for RelevanceSource
impl Clone for RelevanceSource
Source§fn clone(&self) -> RelevanceSource
fn clone(&self) -> RelevanceSource
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 RelevanceSource
Source§impl Debug for RelevanceSource
impl Debug for RelevanceSource
impl Eq for RelevanceSource
Source§impl PartialEq for RelevanceSource
impl PartialEq for RelevanceSource
Source§fn eq(&self, other: &RelevanceSource) -> bool
fn eq(&self, other: &RelevanceSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RelevanceSource
impl Serialize for RelevanceSource
impl StructuralPartialEq for RelevanceSource
Auto Trait Implementations§
impl Freeze for RelevanceSource
impl RefUnwindSafe for RelevanceSource
impl Send for RelevanceSource
impl Sync for RelevanceSource
impl Unpin for RelevanceSource
impl UnsafeUnpin for RelevanceSource
impl UnwindSafe for RelevanceSource
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.