pub struct HumanVerdict {
pub score: f64,
pub reasoning: String,
pub annotator_id: String,
}Available on crate feature
eval only.Expand description
Human-provided verdict for an evaluation case.
Fields§
§score: f64Score assigned by the human annotator
reasoning: StringReasoning for the score
annotator_id: StringIdentifier of the annotator
Trait Implementations§
Source§impl Clone for HumanVerdict
impl Clone for HumanVerdict
Source§fn clone(&self) -> HumanVerdict
fn clone(&self) -> HumanVerdict
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 HumanVerdict
impl Debug for HumanVerdict
Source§impl<'de> Deserialize<'de> for HumanVerdict
impl<'de> Deserialize<'de> for HumanVerdict
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<HumanVerdict, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<HumanVerdict, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for HumanVerdict
impl Serialize for HumanVerdict
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for HumanVerdict
impl RefUnwindSafe for HumanVerdict
impl Send for HumanVerdict
impl Sync for HumanVerdict
impl Unpin for HumanVerdict
impl UnsafeUnpin for HumanVerdict
impl UnwindSafe for HumanVerdict
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