pub enum SystemOneAnswer {
Noul {
noul: f64,
temperature: f64,
option_mass: f64,
},
Choice {
choice: String,
probabilities: OrderedEntries<f64>,
confidence: f64,
temperature: f64,
option_mass: f64,
},
Score {
score: f64,
legend: OrderedEntries<Value>,
probabilities: OrderedEntries<f64>,
confidence: f64,
temperature: f64,
option_mass: f64,
},
}Expand description
The answer to one question. Every variant reports the calibration
temperature applied and option_mass, the share of the model’s next-token
probability that fell on the offered options (low values mean the prompt did
not fit the question well). The decision models report temperature 1 unless
the request sets one, and an option_mass of 1: they score only the offered
options.
Variants§
Noul
Choice
Fields
§
probabilities: OrderedEntries<f64>Probability per option label, in the order the options were given.
Score
Fields
§
legend: OrderedEntries<Value>Level text keyed by level number.
§
probabilities: OrderedEntries<f64>Probability per level number.
Trait Implementations§
Source§impl Clone for SystemOneAnswer
impl Clone for SystemOneAnswer
Source§impl Debug for SystemOneAnswer
impl Debug for SystemOneAnswer
Source§impl<'de> Deserialize<'de> for SystemOneAnswer
impl<'de> Deserialize<'de> for SystemOneAnswer
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
Source§impl PartialEq for SystemOneAnswer
impl PartialEq for SystemOneAnswer
Source§impl Serialize for SystemOneAnswer
impl Serialize for SystemOneAnswer
impl StructuralPartialEq for SystemOneAnswer
Auto Trait Implementations§
impl Forget for SystemOneAnswer
impl Freeze for SystemOneAnswer
impl Move for SystemOneAnswer
impl RefUnwindSafe for SystemOneAnswer
impl Send for SystemOneAnswer
impl Sync for SystemOneAnswer
impl Unpin for SystemOneAnswer
impl UnsafeUnpin for SystemOneAnswer
impl UnwindSafe for SystemOneAnswer
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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