Guardrail Tutorials#

Use the following tutorials to learn how to accomplish common guardrail tasks using the NeMo Guardrails microservice.

Tip

The tutorials reference an GUARDRAILS_BASE_URL whose value will depend on the ingress in your particular cluster. If you are using the minikube demo installation, it will be http://nemo.test. Otherwise, you will need to consult with your own cluster administrator for the ingress values.

Integrate NeMo Guardrails with NemoGuard NIMs using Helm

Set up NeMo Guardrails with a LLM NIM and NemoGuard NIMs with KV cache reuse enabled.

Integrate NeMo Guardrails with NemoGuard NIM Microservices
Parallel Rails

Configure parallel rails for input and output guardrails.

Parallel Execution of Input and Output Rails
Multi-modal Data

Safety checks for multimodal data with NeMo Guardrails microservice.

Working with Multimodal Data
Injection Detection

Configure checks for SQL, XSS, template, and code injection.

Configuring Injection Detection
Custom HTTP Headers

Add custom HTTP headers to requests

Custom HTTP Headers
Custom LLM Providers

Send requests to custom LLM providers

Custom LLM Providers