pub struct LlmAsJudgeConfig {
pub rubric: String,
pub metric_name: String,
}Expand description
Configuration for the LLM-as-judge evaluator.
Fields§
§rubric: StringThe rubric/criteria to evaluate against.
metric_name: StringThe metric name for this evaluation.
Trait Implementations§
Source§impl Clone for LlmAsJudgeConfig
impl Clone for LlmAsJudgeConfig
Source§fn clone(&self) -> LlmAsJudgeConfig
fn clone(&self) -> LlmAsJudgeConfig
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 LlmAsJudgeConfig
impl Debug for LlmAsJudgeConfig
Auto Trait Implementations§
impl Freeze for LlmAsJudgeConfig
impl RefUnwindSafe for LlmAsJudgeConfig
impl Send for LlmAsJudgeConfig
impl Sync for LlmAsJudgeConfig
impl Unpin for LlmAsJudgeConfig
impl UnwindSafe for LlmAsJudgeConfig
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