incerto.llm.IDontKnowDetection#
- class incerto.llm.IDontKnowDetection[source]#
Bases:
objectDetect when the model is expressing uncertainty verbally.
Common patterns: “I don’t know”, “I’m not sure”, “unclear”, etc.
- __init__()#
Methods
__init__()Check if text contains uncertainty phrases.
Detect hedging language and estimate confidence.
Attributes
- UNCERTAINTY_PHRASES = ["i don't know", "i'm not sure", 'i am not sure', 'uncertain', 'unclear', 'not certain', 'cannot say', "can't say", 'hard to say', 'difficult to say', 'no information', 'cannot determine', 'unable to determine', 'ambiguous', 'not enough information', 'insufficient information']#