pub struct HallucinationState {
pub risk_level: HallucinationRisk,
pub detected: Vec<DetectedHallucination>,
pub patterns: Vec<HallucinationPattern>,
pub grounding: GroundingStatus,
pub pending_verification: Vec<UnverifiedClaim>,
}Expand description
Hallucination detection state.
Fields§
§risk_level: HallucinationRisk§detected: Vec<DetectedHallucination>§patterns: Vec<HallucinationPattern>§grounding: GroundingStatus§pending_verification: Vec<UnverifiedClaim>Trait Implementations§
Source§impl Clone for HallucinationState
impl Clone for HallucinationState
Source§fn clone(&self) -> HallucinationState
fn clone(&self) -> HallucinationState
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 HallucinationState
impl Debug for HallucinationState
Source§impl<'de> Deserialize<'de> for HallucinationState
impl<'de> Deserialize<'de> for HallucinationState
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
Auto Trait Implementations§
impl Freeze for HallucinationState
impl RefUnwindSafe for HallucinationState
impl Send for HallucinationState
impl Sync for HallucinationState
impl Unpin for HallucinationState
impl UnsafeUnpin for HallucinationState
impl UnwindSafe for HallucinationState
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