pub enum ConfidenceType {
Verbalized,
TokenLevel,
Calibrated,
}Expand description
How an AI node’s reported confidence was produced (RAO node-contract
confidence_type). Self-reported in-text confidence is verbalized;
token_level derives from token logprobs; calibrated is post-processed
against a calibration set.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ConfidenceType
impl Clone for ConfidenceType
Source§fn clone(&self) -> ConfidenceType
fn clone(&self) -> ConfidenceType
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 ConfidenceType
impl Debug for ConfidenceType
Source§impl<'de> Deserialize<'de> for ConfidenceType
impl<'de> Deserialize<'de> for ConfidenceType
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 ConfidenceType
impl PartialEq for ConfidenceType
Source§impl Serialize for ConfidenceType
impl Serialize for ConfidenceType
impl Copy for ConfidenceType
impl Eq for ConfidenceType
impl StructuralPartialEq for ConfidenceType
Auto Trait Implementations§
impl Freeze for ConfidenceType
impl RefUnwindSafe for ConfidenceType
impl Send for ConfidenceType
impl Sync for ConfidenceType
impl Unpin for ConfidenceType
impl UnsafeUnpin for ConfidenceType
impl UnwindSafe for ConfidenceType
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