AI NVIDIA NeMo Guardrail Policy

Mask violating content instead of blocking it

Configure the AI NVIDIA NeMo Guardrail policy to mask violating content instead of blocking the request or response. Enabling allow_masking disables streaming, because the policy needs the complete payload to mask it.

Prerequisites

Environment variables

  • OPENAI_API_KEY: The OpenAI API key that the NeMo Guardrails microservice uses to evaluate your rails.

Set up the policy

Attach the policy

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!