OpenPrompts
← Back to catalog
NVIDIAGuardrailsSafety & Moderation

Clavata (NeMo Guardrail)

POLICY DETECTION RAILS INPUT and OUTPUT RAILS @active flow clavata check for $text $policy $labels="" """Check if the input text is benign.""" $is_mat

#### POLICY DETECTION RAILS ####

# INPUT and OUTPUT RAILS
@active
flow clavata check for $text $policy $labels=""
  """Check if the input text is benign."""
  $is_match = await ClavataCheckAction(text=$text, policy=$policy, labels=$labels)

  if $is_match
    if $system.config.enable_rails_exceptions
      global $msg
      $msg = "Interaction blocked by clavata check with policy={$policy} and text={$text}"
      send ClavataPolicyMatchException(message=$msg)
    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
2025-09-19
#guardrail#nemo#rails#colang