pub struct DebateJudgeConfig {
pub min_rounds_before_stop: u32,
}Expand description
Configuration for the optional judge that assesses each debate round.
The judge is a separate LLM call that reads the full round transcript and
decides whether consensus has been reached or whether the debate should
continue for more rounds. When no judge is configured all DebateConfig::rounds
are always executed.
Fields§
§min_rounds_before_stop: u32The judge will not attempt early stopping before this round index
(1-based). 1 means the judge may recommend a stop after the very
first round. Defaults to 1.
Trait Implementations§
Source§impl Clone for DebateJudgeConfig
impl Clone for DebateJudgeConfig
Source§fn clone(&self) -> DebateJudgeConfig
fn clone(&self) -> DebateJudgeConfig
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 moreSource§impl Debug for DebateJudgeConfig
impl Debug for DebateJudgeConfig
Source§impl<'de> Deserialize<'de> for DebateJudgeConfig
impl<'de> Deserialize<'de> for DebateJudgeConfig
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 DebateJudgeConfig
impl RefUnwindSafe for DebateJudgeConfig
impl Send for DebateJudgeConfig
impl Sync for DebateJudgeConfig
impl Unpin for DebateJudgeConfig
impl UnwindSafe for DebateJudgeConfig
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