pub struct CoherenceSignals {
pub relation_coverage: f32,
pub relation_confidence: f32,
pub structural_connectivity: f32,
pub qap_closure: f32,
pub topic_continuity: f32,
}Expand description
The five RSTE inputs feeding compute_coherence. Each f32 is expected in
[0, 1]; values are clamped.
Fields§
§relation_coverage: f32Fraction of expected relations actually present.
relation_confidence: f32Mean confidence of the present relations.
structural_connectivity: f32Structural connectivity of the conversation graph.
qap_closure: f32Question–answer pair closure.
topic_continuity: f32Topic continuity across turns.
Implementations§
Source§impl CoherenceSignals
impl CoherenceSignals
Sourcepub fn score(&self) -> f32
pub fn score(&self) -> f32
Coherence in [0, 1] (see compute_coherence).
Trait Implementations§
Source§impl Clone for CoherenceSignals
impl Clone for CoherenceSignals
impl Copy for CoherenceSignals
Auto Trait Implementations§
impl Freeze for CoherenceSignals
impl RefUnwindSafe for CoherenceSignals
impl Send for CoherenceSignals
impl Sync for CoherenceSignals
impl Unpin for CoherenceSignals
impl UnsafeUnpin for CoherenceSignals
impl UnwindSafe for CoherenceSignals
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more