Skip to content

Glossary: Evaluating LLM Apps

Refusal check

Also written: refused, I don't know check, refusal_ok

A code check that looks at the first sentence of an answer for phrases like "I don't know". It should pass only when the case is unanswerable, so the bot refuses when it should and not otherwise.

Where the book teaches it

Related terms

Unanswerable caseRegular expression