Skip to main content
Loading navigation
Back to prompt library

Define Colang Safety Policy with NeMo Guardrails

Linked challenge: Implement a Safety Interlock Guardrail Agent using OpenAI Agents SDK and NeMo Guardrails

Prompt source

planning1 lines1 sectionsNo variables0 checklist items
Create a Colang rail definition `safety_rules.co` in NVIDIA NeMo Guardrails that defines safety envelopes for process parameters (e.g., max pressure = 350 PSI, max temp = 200°C). Block any user query that attempts to exceed these limits.