OpenPrompts
← Back to catalog
NVIDIAGuardrailsSafety & Moderation

Trend Micro (NeMo Guardrail)

INPUT AND/OR OUTPUT RAIL flow trend ai guard input $text $result = await TrendAiGuardAction(text=$text) if $result.blocked Fails open if AI Guard serv

# INPUT AND/OR OUTPUT RAIL
flow trend ai guard input $text
    $result = await TrendAiGuardAction(text=$text)

    if $result.blocked # Fails open if AI Guard service has an error
        if $system.config.enable_rails_exceptions
            send TrendAiGuardRailException(message="Blocked by the 'trend ai guard input' flow: " + $result.reason)
        else
            bot refuse to respond
        abort


# OUTPUT RAIL
flow trend ai guard output $text
    $result = await TrendAiGuardAction(text=$text)

    if $result.blocked # Fails open if AI Guard service has an error
        if $system.config.enable_rails_exceptions
            send TrendAiGuardRailException(message="Blocked by the 'trend ai guard output' flow: " + $result.reason)
        else
            bot refuse to respond
        abort
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
2026-02-16
#guardrail#nemo#rails#colang