pub struct StructuredJudgeConfig {
pub prefer_function_calling: bool,
pub temperature: f64,
pub rubrics: Vec<JudgeRubric>,
}Available on crate feature
eval only.Expand description
Configuration for the structured judge.
Fields§
§prefer_function_calling: boolWhether to attempt function calling (response_schema) first.
temperature: f64Temperature for the judge LLM.
rubrics: Vec<JudgeRubric>Custom rubrics (optional).
Trait Implementations§
Source§impl Clone for StructuredJudgeConfig
impl Clone for StructuredJudgeConfig
Source§fn clone(&self) -> StructuredJudgeConfig
fn clone(&self) -> StructuredJudgeConfig
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 StructuredJudgeConfig
impl Debug for StructuredJudgeConfig
Source§impl Default for StructuredJudgeConfig
impl Default for StructuredJudgeConfig
Source§fn default() -> StructuredJudgeConfig
fn default() -> StructuredJudgeConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StructuredJudgeConfig
impl RefUnwindSafe for StructuredJudgeConfig
impl Send for StructuredJudgeConfig
impl Sync for StructuredJudgeConfig
impl Unpin for StructuredJudgeConfig
impl UnsafeUnpin for StructuredJudgeConfig
impl UnwindSafe for StructuredJudgeConfig
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