pub struct TiebreakerConfig {
pub model: String,
pub threshold: f64,
pub max_candidates: usize,
}Expand description
Configuration for the LLM tiebreaker step when scores are too close to call.
Fields§
§model: StringModel identifier to invoke for tiebreaking (e.g. “claude-3-5-haiku-20241022”).
threshold: f64Composite score difference below which two candidates are considered tied.
max_candidates: usizeMaximum number of candidates forwarded to the tiebreaker LLM.
Trait Implementations§
Source§impl Clone for TiebreakerConfig
impl Clone for TiebreakerConfig
Source§fn clone(&self) -> TiebreakerConfig
fn clone(&self) -> TiebreakerConfig
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 TiebreakerConfig
impl Debug for TiebreakerConfig
Source§impl<'de> Deserialize<'de> for TiebreakerConfig
impl<'de> Deserialize<'de> for TiebreakerConfig
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 TiebreakerConfig
impl RefUnwindSafe for TiebreakerConfig
impl Send for TiebreakerConfig
impl Sync for TiebreakerConfig
impl Unpin for TiebreakerConfig
impl UnsafeUnpin for TiebreakerConfig
impl UnwindSafe for TiebreakerConfig
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