pub struct DecisionJudgeRouteConfig {
pub cutoff: f64,
pub instructions: Option<Value>,
pub candidates: BTreeMap<String, String>,
pub evidence: Value,
}Expand description
Relative-advantage judgment using a decision model instead of an LLM prompt.
Fields§
§cutoff: f64Route capable only when its advantage score is strictly above this cutoff.
instructions: Option<Value>Replaces the default relative-advantage instructions.
candidates: BTreeMap<String, String>Anonymous evidence labels mapped to configured LLM target names.
evidence: ValueCandidate descriptions and reference outcomes, passed unchanged to the judge.
Trait Implementations§
Source§impl Clone for DecisionJudgeRouteConfig
impl Clone for DecisionJudgeRouteConfig
Source§fn clone(&self) -> DecisionJudgeRouteConfig
fn clone(&self) -> DecisionJudgeRouteConfig
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 DecisionJudgeRouteConfig
impl Debug for DecisionJudgeRouteConfig
Source§impl<'de> Deserialize<'de> for DecisionJudgeRouteConfig
impl<'de> Deserialize<'de> for DecisionJudgeRouteConfig
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 DecisionJudgeRouteConfig
impl RefUnwindSafe for DecisionJudgeRouteConfig
impl Send for DecisionJudgeRouteConfig
impl Sync for DecisionJudgeRouteConfig
impl Unpin for DecisionJudgeRouteConfig
impl UnsafeUnpin for DecisionJudgeRouteConfig
impl UnwindSafe for DecisionJudgeRouteConfig
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