flow guardrailsai check input $validator
"""Check input text using relevant Guardrails AI validators."""
$result = await ValidateGuardrailsAiInputAction(validator=$validator, text=$user_message)
if not $result["valid"]
if $system.config.enable_rails_exceptions
send GuardrailsAIException(message="Guardrails AI {$validator} validation failed")
else
bot refuse to respond
abort
flow guardrailsai check output $validator
"""Check output text using relevant Guardrails AI validators."""
$result = await ValidateGuardrailsAiOutputAction(validator=$validator, text=$bot_message)
if not $result["valid"]
if $system.config.enable_rails_exceptions
send GuardrailsAIException(message="Guardrails AI {$validator} validation failed")
else
bot refuse to respond
abort
← Back to catalog
Guardrails AI (NeMo Guardrail)
flow guardrailsai check input $validator """Check input text using relevant Guardrails AI validators.""" $result = await ValidateGuardrailsAiInputActi
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-11-11
#guardrail#nemo#rails#colang