flow bot inform answer unknown
bot say "I don't know the answer to that."
flow hallucination warning
"""Warning rail for hallucination."""
bot said something
if $hallucination_warning == True
$is_hallucination = await SelfCheckHallucinationAction()
global $hallucination_warning
$hallucination_warning = False
if $is_hallucination
bot inform answer prone to hallucination
flow bot inform answer prone to hallucination
bot say "The previous answer is prone to hallucination and may not be accurate. Please double check the answer using additional sources."
or bot say "The above response may have been hallucinated, and should be independently verified."
flow self check hallucination
"""Output rail for checking hallucinations."""
if $check_hallucination == True
$is_hallucination = await SelfCheckHallucinationAction()
global $check_hallucination
$check_hallucination = False
if $is_hallucination
if $system.config.enable_rails_exceptions
send SelfCheckHallucinationRailException(message="Hallucination detected. The previous answer may not be accurate")
else
bot inform answer unknown
abort
← Back to catalog
Hallucination (NeMo Guardrail)
flow bot inform answer unknown bot say "I don't know the answer to that." flow hallucination warning """Warning rail for hallucination.""" bot said so
Automated safety scan: no suspicious patterns found.
Heuristic text scan aligned to the OWASP Agentic Skills Top 10. How we scan
- Provider
- NVIDIA
- Origin
- Official
- Type
- Guardrails
- License
- Apache-2.0
- Language
- English
- Added
- 2025-09-06
#guardrail#nemo#rails#colang