pub struct AnnotationRecord {
pub case_id: String,
pub input: String,
pub expected_response: Option<String>,
pub actual_response: Option<String>,
pub verdict: Option<HumanVerdict>,
}Available on crate feature
eval only.Expand description
A single annotation record for human review.
Fields§
§case_id: StringIdentifier of the evaluation case
input: StringInput text or conversation
expected_response: Option<String>Expected response (if available)
actual_response: Option<String>Actual agent response (if available)
verdict: Option<HumanVerdict>Human-provided verdict (empty on export, filled on import)
Trait Implementations§
Source§impl Clone for AnnotationRecord
impl Clone for AnnotationRecord
Source§fn clone(&self) -> AnnotationRecord
fn clone(&self) -> AnnotationRecord
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 AnnotationRecord
impl Debug for AnnotationRecord
Source§impl<'de> Deserialize<'de> for AnnotationRecord
impl<'de> Deserialize<'de> for AnnotationRecord
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnnotationRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnnotationRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AnnotationRecord
impl Serialize for AnnotationRecord
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 AnnotationRecord
impl RefUnwindSafe for AnnotationRecord
impl Send for AnnotationRecord
impl Sync for AnnotationRecord
impl Unpin for AnnotationRecord
impl UnsafeUnpin for AnnotationRecord
impl UnwindSafe for AnnotationRecord
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