pub struct DecisionJudgeConfig {
pub cutoff: Option<f64>,
pub instructions: Option<String>,
pub choices: Vec<DecisionChoice>,
pub apply_cutoff_to: String,
}Expand description
Question and cutoff policy for a decision judge.
The defaults ask whether to start with the capable or the efficient model. Only the first runtime capable and efficient targets are used.
Fields§
§cutoff: Option<f64>Route capable when the apply_cutoff_to probability is strictly above
this cutoff. Defaults to 0.6. The probability is uncalibrated; choose a
cutoff from evaluations.
instructions: Option<String>Replaces the default instructions. Keep the meaning of the choices.
choices: Vec<DecisionChoice>Choices sent to the decision model.
apply_cutoff_to: StringChoice ID whose probability is compared with the cutoff.
Trait Implementations§
Source§impl Clone for DecisionJudgeConfig
impl Clone for DecisionJudgeConfig
Source§fn clone(&self) -> DecisionJudgeConfig
fn clone(&self) -> DecisionJudgeConfig
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 DecisionJudgeConfig
impl Debug for DecisionJudgeConfig
Auto Trait Implementations§
impl Freeze for DecisionJudgeConfig
impl RefUnwindSafe for DecisionJudgeConfig
impl Send for DecisionJudgeConfig
impl Sync for DecisionJudgeConfig
impl Unpin for DecisionJudgeConfig
impl UnsafeUnpin for DecisionJudgeConfig
impl UnwindSafe for DecisionJudgeConfig
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