Skip to main content

detect_assertive_uncertainty

Function detect_assertive_uncertainty 

Source
pub fn detect_assertive_uncertainty(text: &str) -> bool
Expand description

Check if response text contains overconfident, unhedged assertions on factual or contested topics.

These patterns indicate the agent stated something as absolute fact when appropriate hedging language should have been used. Used as an additional quality signal alongside detect_failure_patterns.