> This page is for version 0.7.
> For other versions, use one of these documentation indexes:
> - Latest (default): https://docs.nvidia.com/nemo-helix/latest/llms.txt
> - 0.9: https://docs.nvidia.com/nemo-helix/v0.9/llms.txt
> - 0.8: https://docs.nvidia.com/nemo-helix/v0.8/llms.txt
> - 0.7: https://docs.nvidia.com/nemo-helix/v0.7/llms.txt
> - 0.6: https://docs.nvidia.com/nemo-helix/v0.6/llms.txt
> - 0.5: https://docs.nvidia.com/nemo-helix/v0.5/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo-helix/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo-helix/_mcp/server.

# Guardrail Tutorials

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

> **Tip**
>
> Before starting a tutorial, complete [Setup](/nemo-helix/v0.7/documentation/get-started) to configure a `ModelProvider` and discover models. The tutorials assume you have models available in the `default` workspace.

Once a `ModelProvider` is configured, use Model Entity references (`workspace/name` format) as the `model` in your guardrail configurations. The guardrails plugin resolves task model endpoints through IGW's route table. Refer to [Model Routing](/nemo-helix/v0.7/documentation/guardrail-models/core-concepts/running-inference#guardrails-model-routing) for more details.

```python
guardrails_config = {
    "models": [
        {
            "type": "content_safety",
            "engine": "nim",
            "model": "default/nvidia-llama-3-1-nemotron-safety-guard-8b-v3",
        }
    ],
    # ... rest of config
}
```

#### [Deploy NemoGuard NIMs](/nemo-helix/v0.7/documentation/guardrail-models/tutorials/deploy-nemo-guard-ni-ms)

Deploy NemoGuard NIMs in your environment

nemo-guardrails nemoguard

#### [Improving Content Safety with NemoGuard NIMs](/nemo-helix/v0.7/documentation/guardrail-models/tutorials/content-safety)

Use Content Safety checks to detect and block harmful content

nemo-guardrails nemoguard

#### [Running Rails in Parallel](/nemo-helix/v0.7/documentation/guardrail-models/tutorials/parallel-rails)

Configure parallel rails for input and output guardrails.

nemo-guardrails

#### [Adding Safety Checks to Multimodal Data](/nemo-helix/v0.7/documentation/guardrail-models/tutorials/multimodal-data)

Safety checks for multimodal data with NeMo Guardrails API.

nemo-guardrails

#### [Detecting Injection Attacks](/nemo-helix/v0.7/documentation/guardrail-models/tutorials/injection-detection)

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

nemo-guardrails