pub struct ActionClaimValidation {
pub claims: Vec<ActionClaim>,
pub unmatched_claims: Vec<ActionClaim>,
}Expand description
Result of validating action claims against actual tool usage.
Fields§
§claims: Vec<ActionClaim>All detected action claims.
unmatched_claims: Vec<ActionClaim>Claims with no matching tool usage (potential hallucinations).
Implementations§
Source§impl ActionClaimValidation
impl ActionClaimValidation
Sourcepub fn has_warnings(&self) -> bool
pub fn has_warnings(&self) -> bool
Whether any unmatched (potentially hallucinated) claims were found.
Trait Implementations§
Source§impl Clone for ActionClaimValidation
impl Clone for ActionClaimValidation
Source§impl Debug for ActionClaimValidation
impl Debug for ActionClaimValidation
Auto Trait Implementations§
impl Freeze for ActionClaimValidation
impl RefUnwindSafe for ActionClaimValidation
impl Send for ActionClaimValidation
impl Sync for ActionClaimValidation
impl Unpin for ActionClaimValidation
impl UnsafeUnpin for ActionClaimValidation
impl UnwindSafe for ActionClaimValidation
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