pub struct VerbalizationCritic { /* private fields */ }Expand description
Critic that passes when the candidate verbalisation mentions
every fact_id from the supplied path. The check is verbatim
substring matching: the LLM must echo each fact_id once so the
downstream evidence-bundle linker can splice the prose back to
the chain entries it cites.
Implementations§
Source§impl VerbalizationCritic
impl VerbalizationCritic
Sourcepub fn new(path: &RetrievalPath) -> Self
pub fn new(path: &RetrievalPath) -> Self
Snapshot the required fact ids from the supplied path so the critic owns its evaluation contract independent of the path’s lifetime.
Trait Implementations§
Source§impl Critic<String> for VerbalizationCritic
impl Critic<String> for VerbalizationCritic
Auto Trait Implementations§
impl Freeze for VerbalizationCritic
impl RefUnwindSafe for VerbalizationCritic
impl Send for VerbalizationCritic
impl Sync for VerbalizationCritic
impl Unpin for VerbalizationCritic
impl UnsafeUnpin for VerbalizationCritic
impl UnwindSafe for VerbalizationCritic
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