What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

To add content-safety guardrails to an NVIDIA-powered AI application, place NVIDIA NeMo Guardrails between your application and its application LLM, then configure a content-safety model to inspect both incoming requests and generated responses. For NVIDIA-native moderation, the current NeMo Helix pattern uses the nvidia/llama-3.1-nemotron-safety-guard-8b-v3 model through a content-safety NIM. The same middleware can also check retrieved RAG context, topic scope, personally identifiable information (PII), jailbreak attempts and tool calls before an agent is allowed to act.

You can run the guardrail library inside your Python process, expose it as a NeMo Guardrails service, self-host the safety models on dedicated GPUs, or use NVIDIA’s hosted inference endpoint. The right choice depends on data locality, available GPU memory, latency, streaming requirements and how much infrastructure your team wants to operate.

What does a guardrail layer do in an NVIDIA AI application?

NeMo Guardrails is policy middleware, not a replacement for the application LLM. It receives a conversation or agent request, evaluates it against configured rails and safety models, and either lets the request continue, returns a safe alternative, or stops the operation. NVIDIA describes the library’s architecture and message flow in its architecture overview.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A robust deployment treats safety as a series of control points:

Popular on Amazon
Silkland 40Gbps USB C 90 Degree Right Angle Adapter 2 Pack, 240W USB4 | Male to Female Extender, 8K@60Hz, Thunderbolt 4/3, Steam Deck, ROG Ally, MacBook, Switch 2, iPhone 18/17/16/15, Quest 3 VR
  • 【90 Degree Full Function USB C Adapter】Supports the latest USB4 standard for up to 40Gbps of bandwidth, 8K video support, and up to 240W Fast charging; Support USB PD 3.1 Extended Power Range (EPR) including 140W, 180W and 240W. Your productivity is easily doubled. *Warm Tip: For the best fit, please make sure the USB-C port is fully exposed; thick or bulky cases may affect compatibility.
  • 【Reliable Quality】Made from high-quality, scratch-resistant aluminum alloy, delicate metal frame. get excellent wear resistance and heat dissipation. Non-Slip Design for easier insertion and removal.
  • 【Small and portable】Ultra thin size, ultra compact design, a petite physique that matches the minimalist design of your modern laptops. Coming with a slim figure that won't block the port next to the one it's plugged into.
  • 【Compatibility】Widely work with most usb c, thunderbolt 4/3 devices. Compatibilit for ROG Ally, Steam Deck, Switch, MacBook Pro, Quest 3 VR headset, Surface Book 2, iPhone 18/17/16/15, Samsung Galaxy S23/S22/S21, Note 20/10, Google Pixel, ChromeBook, etc.
  • 【Excellence Customer Support】If you experience any issues or cable failure, simply reach out to our dedicated customer service team. We provide a prompt response within 18 hours, providing you with the necessary technical support to resolve any concerns.
  • Input rail: checks the user’s prompt before it reaches the application model.
  • Retrieval rail: inspects documents, chunks or other context supplied by a RAG pipeline.
  • Tool or execution rail: validates an agent’s proposed function call and arguments before an external action occurs.
  • Output rail: checks the model’s draft response before it is shown to the user.
  • Topic and privacy controls: keep the assistant within its intended subject area and detect, mask or block sensitive data.

Input-only moderation misses unsafe content that is introduced by retrieval, tools or generation. Output-only moderation allows the application model to process a dangerous request before it is stopped. Put the rails on both sides of the LLM and add retrieval and execution checks wherever the application handles untrusted data or can take consequential actions.

The NeMo Guardrails library overview covers the Python SDK, server interfaces, YAML configuration, Colang flows and custom actions that let you express these controls without rewriting the application model.

Which deployment mode should you choose?

Use the Python library for the smallest integration surface, a guardrails service when several applications need one endpoint, self-hosted NIMs when data must stay on designated infrastructure, and NVIDIA-hosted inference when you cannot provide the required local GPU capacity.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Mode Best fit What you operate Main trade-off
Python SDK A single application or rapid integration Your application process and its configuration Guardrail compute and scaling are coupled to the application unless you separate them later
NeMo Guardrails service Multiple clients or a containerized middleware boundary A service endpoint, configuration and model backends Introduces a network hop and service health to manage
Self-hosted content-safety NIMs Strict data locality or private on-premises inference Model containers, GPU allocation, upgrades and monitoring Dedicated high-memory GPUs are required
NVIDIA-hosted inference Teams without spare local GPUs Credentials, endpoint configuration and availability monitoring Requests depend on a hosted service and leave the local infrastructure

The YAML and Colang policy model can be reused when moving from an in-process setup to the microservice, so starting with the SDK does not require a different policy language later.

What do you need before configuring NeMo Guardrails?

Define the application boundaries and policy outcomes before selecting a model. The pre-configuration checklist is a useful starting point.

  1. Map every request path. Identify direct chat, RAG retrieval, agent planning, tool execution, streaming and any asynchronous jobs. A rail that protects only the chat endpoint will not protect an internal tool endpoint.
  2. Write an allow/block/escalate policy. Decide which categories are always blocked, which can receive a constrained answer, which require human review and what the user sees when content is refused.
  3. Choose the model endpoint. Decide whether the content-safety NIM is local or reached through NVIDIA-hosted inference. If you have separate topic-control or other specialist models, allocate them explicitly.
  4. Reserve a fallback path. A model timeout, unhealthy container or malformed classifier response must fail closed for high-risk actions, while a low-risk informational chat may return a clear temporary-unavailable message.
  5. Plan logs without collecting unnecessary sensitive content. Record the policy decision, category, rail and correlation ID. Redact prompts, retrieved passages and tool arguments according to your retention policy.

How do you wire the Python SDK into an application?

The official SDK pattern creates a RailsConfig from a configuration directory, constructs LLMRails, and sends messages in the same shape used by the OpenAI Chat Completions API.

from nemoguardrails import LLMRails, RailsConfig

config = RailsConfig.from_path("./config")
rails = LLMRails(config)
response = rails.generate(
    messages=[{"role": "user", "content": "Hello!"}]
)

This pattern is shown in NVIDIA’s library documentation. Keep the guardrail object behind an application-facing function so every route uses the same policy, timeout and fallback behavior instead of calling the application LLM directly.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A typical request wrapper should:

  1. Normalize the incoming message and attach a request or trace ID.
  2. Call the guardrail input rail.
  3. Stop immediately when the result is unsafe or requires escalation.
  4. Run retrieval only after the input is accepted, then pass retrieved context through a retrieval check.
  5. Generate the answer through the configured application LLM.
  6. Run the output rail before returning text or tokens to the client.
  7. Validate tool calls before execution and separately moderate tool results before they are fed back into the conversation.

For applications that need a network boundary, deploy the NeMo Guardrails server or a compatible microservice and point clients at that endpoint. The middleware can retain the same configuration directory while the application changes from a local Python call to an HTTP request.

How do you configure the NVIDIA content-safety model?

NVIDIA’s NeMo Helix content-safety tutorial uses a content-safety model entry and attaches one flow to input and another to output. The following structure reflects that documented pattern:

Also popular on Amazon
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
guardrails_config = {
    "models": [{
        "type": "content_safety",
        "engine": "nim",
        "model": "default/nvidia-llama-3-1-nemotron-safety-guard-8b-v3",
    }],
    "rails": {
        "input": {"flows": [
            "content safety check input $model=content_safety"
        ]},
        "output": {"flows": [
            "content safety check output $model=content_safety"
        ]},
    },
}

The exact model identifier and endpoint names must match the deployment you choose. Treat the example as a structural template: keep the model declaration, input flow and output flow aligned, then add your application’s topic, privacy, retrieval and tool policies.

The Helix tutorial asks the safety model for a structured safe/unsafe result and a category list. Its documented taxonomy covers violence, sexual content, criminal planning, weapons, controlled substances, self-harm, hate, privacy, harassment, threats, profanity, manipulation, fraud, malware, high-risk government decision-making, misinformation, copyright, unauthorized advice, illegal activity and other policy categories. Select the categories relevant to your product, document their definitions and decide what action follows each result. Do not silently map every category to the same response if your risk model requires different handling.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Where should rails sit in a RAG or agent pipeline?

In a RAG application, check the user request before retrieval, inspect retrieved material before it is inserted into the model prompt, and check the final answer. In an agent, add a decision point immediately before every external side effect.

Recommended RAG sequence

  1. Input classification: block policy violations, jailbreak instructions and out-of-scope requests before searching.
  2. Query and filter validation: prevent a user from turning a natural-language request into an unauthorized tenant, document or database query.
  3. Context inspection: classify retrieved text for unsafe instructions, malicious prompt injection, sensitive data and disallowed material.
  4. Generation: send only accepted context to the application LLM, with a system instruction that untrusted retrieved text is data rather than control instructions.
  5. Output classification: check the complete answer or each safe streaming unit according to the selected streaming mode.

Recommended agent sequence

  1. Classify the user’s goal and requested authority.
  2. Validate the proposed tool name, arguments, target resource and user permission.
  3. Require confirmation for irreversible or high-impact operations.
  4. Execute only after the tool rail approves the call.
  5. Classify tool output before returning it to the model or user.

NeMo Guardrails supports custom actions and Colang flows for expressing these application-specific decisions. The generic content-safety model cannot know whether a particular user is authorized to refund an order, delete a record or access a private document; your action layer must enforce those business rules.

How do you self-host the safety models on NVIDIA GPUs?

Self-hosting keeps inference on infrastructure you designate, but the RAG Blueprint requires dedicated capacity. When both content-safety and topic-control models are deployed, NVIDIA documents two additional dedicated GPUs. Each model requires at least 48 GB of GPU memory, and the Blueprint lists H100 or A100 hardware as supported. The current Blueprint also states that B200 GPUs are unsupported for this input/output feature; verify the restriction against the release you deploy because Blueprint support can change.

The published threshold is 48 GB of GPU memory per guardrail model, not a total for the entire application. Budget memory for each model container plus the application LLM, vector database and operating-system overhead. An NVIDIA A100 80GB GPU meets the documented per-model memory threshold, but capacity planning still depends on concurrency, batching and the other services sharing the host.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use the Blueprint’s self-hosted path when data residency, private networking or predictable control of model versions outweighs the operational work. Isolate safety-model GPUs from the application model where possible so a generation workload cannot starve the input or output rail.

How do you use NVIDIA-hosted inference instead?

When local GPU capacity is unavailable, the RAG Blueprint documents NVIDIA’s hosted OpenAI-compatible endpoint as https://integrate.api.nvidia.com/v1. Configure the guardrail model to use the hosted deployment and keep the application LLM endpoint separate if that matches your architecture.

If you use a custom on-premises OpenAI-compatible endpoint, set the guardrails endpoint to the same base URL ending in /v1. Check authentication, network egress, TLS, request timeouts and data-handling requirements before sending production prompts to a hosted service. Hosted inference removes local model-container operations; it does not remove the need to monitor latency, rate limits, failures and policy fallbacks.

Also popular on Amazon
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

How do you enable guardrails in the NVIDIA RAG Blueprint?

The Blueprint uses environment settings to select the guardrail configuration and, for self-hosting, the GPUs assigned to each model.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Set ENABLE_GUARDRAILS=true.
  2. Choose the appropriate DEFAULT_CONFIG for the hosted or self-hosted arrangement.
  3. For local models, assign CONTENT_SAFETY_GPU_ID and TOPIC_CONTROL_GPU_ID to the designated devices.
  4. Start the compose services using the Blueprint’s documented startup procedure.
  5. Wait for both the guardrails microservice and model containers to report healthy before routing user traffic.

Use the documented container check to confirm the relevant services:

docker ps --format "table {{.Names}}t{{.Status}}" | grep -E "guardrails|safety|topic"

A running container is not proof that a policy is being applied. Confirm that the application is using the guardrail endpoint, that the selected configuration contains input and output flows, and that the model service returns the structured result expected by those flows.

What changes when responses stream?

Streaming requires an explicit output-rail decision. If output rails are enabled in the RAG Blueprint while responses stream, enable output-rail streaming in the guardrails configuration. NVIDIA documents a stream_async() error when output rails are configured but streaming is disabled.

Choose a release strategy that matches your risk. Buffering the complete answer allows a classifier to inspect it before any token is shown, but increases time to first token. Incremental filtering can improve responsiveness, but a harmful passage may be partially emitted before a later chunk triggers a block. For high-risk applications, use buffering or a conservative prefix policy and define what the client sees when a stream is interrupted.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How should you validate that the guardrails actually work?

Validate through the application’s real request path rather than calling the classifier in isolation. The expected behavior from the Helix tutorial is that unsafe inputs are blocked and safe inputs are allowed, with a configured fallback for blocked content.

Build a test matrix that records the classifier result, category, selected rail, action and user-facing response:

Case What to verify
Clearly safe request The request reaches the application model and returns a normal answer.
Clearly unsafe request The application model is not called, or the configured pre-model policy is applied.
Borderline or ambiguous request The result follows a documented escalation or safe-completion rule.
Policy-sensitive request The expected category is recorded and the fallback does not reveal sensitive policy internals.
PII in input or output Detection, masking, blocking and audit behavior match your privacy policy.
Jailbreak attempt Role-play, encoded instructions and prompt-injection variants cannot bypass the intended rail.
Unsafe retrieved passage The passage is rejected or isolated before it can control generation.
Unsafe tool proposal The call is denied before execution, including when arguments are obfuscated.
Streaming response Output checks, interruption and fallback behavior work without the documented streaming error.
Model or service outage High-risk actions fail closed and users receive a deterministic availability message.

Run these cases in staging and repeat them after changing the safety model, policy taxonomy, Colang flow, endpoint or streaming configuration. Preserve only the minimum data needed to investigate a decision.

What are the common failure modes?

Unsafe content is still reaching the user

Check that both input and output rails are enabled, that the application does not have a bypass path to the LLM, and that streamed output uses the output-rail streaming setting. Confirm the classifier response schema and category mapping before changing thresholds or prompts.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Also popular on Amazon
BENFEI USB C Hub 5-in-1 with 4K HDMI(Certified), 100W Power Delivery, 3 USB-A, Silicone Cable, Aluminum Case Compatible with MacBook Pro/Air, iPad Pro, iMac, iPhone 15 Pro/Pro Max, XPS, Thinkpad
  • Portable and powerful USB-C HUB: BENFEI USB Type-C HUB, with super-soft and knot-free silicone woven design cable, meets most mobile office needs. Compact, lightweight, stylish, and powerful portable USB C Hub equipped with 1 x HDMI port, 1 x 100W charging, and 3 x USB ports. 18-month warranty, 24-hour response, to ensure you feel at ease when using our product.
  • Design centered on comfort and reliability: Thanks to BENFEI's end-to-end in-house cable production capability, in-house PCBA and assembly capability, using the industry's most advanced silicone woven design and process, 20cm cable in length, no knots, super-soft, the HUB is easy to use in all scenarios: laptop, tablet, stand etc. Super-soft, 25000+ life cycles, to meet your daily carrying and office needs.
  • 100W Charging: Support up to 90W USB C pass-through charging via Type-C port to keep your laptop powered. 10W is reserved for other interface operations. No data and video function on the Type-C port.
  • 4K HDMI Display: The HDMI port supports media display at resolutions up to 4K 30Hz, keeping every incredible moment detailed and ultra vivid. Please note that the C port of the Host device needs to support video output.
  • Transfer Files in Seconds: Transfer files and from your laptop at speeds up to 10 Gbps with USB A 3.2 port. Extra 2 USB A 2.0 ports are perfectly for your keyboards and mouse.

Every request is blocked

Inspect the model endpoint, authentication, model identifier and structured-result parser. A connectivity or parsing failure should be visible in service logs; do not treat an unavailable classifier as an ordinary unsafe classification. Also check whether a topic-control flow is using a taxonomy that is too broad for the application.

The service is healthy but the application bypasses it

Trace one request from ingress to the final model call. The trace should show the guardrail endpoint, the selected configuration and the input/output decisions. Network reachability alone does not prove that the application route is wired through the middleware.

Self-hosted containers cannot start

Verify that each assigned GPU has the documented 48 GB minimum, that GPU IDs are not duplicated unintentionally and that the host driver and container runtime support the selected model. If you are deploying the RAG Blueprint, check its current hardware notes; the documented support and limitations are Blueprint-specific.

A streaming call raises stream_async() errors

Enable output-rail streaming when output rails are configured, or use a non-streaming path that buffers the answer for inspection. Ensure the client and middleware agree on the same streaming mode.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How should you design refusal and escalation behavior?

A classifier label is an internal decision, not a user experience. For each category, define a short refusal, a safe alternative, an escalation destination and an audit event. Avoid echoing the disallowed prompt or exposing hidden policy text in the refusal.

Use different handling for different risk levels. A request for prohibited instructions may receive a refusal plus benign educational information. A suspected account takeover, self-harm crisis or high-impact decision may require a specialized human or safety workflow rather than a generic message. Keep authorization and business rules in application code; content safety alone cannot establish identity or permission.

Version policy files and Colang flows alongside application code. Record which policy and model version produced each decision so that a later change can be explained. Review false positives and false negatives with domain owners, but do not weaken a high-risk rail merely to improve conversational convenience.

What should you monitor in production?

Monitor the complete safety path, not just model latency. Useful signals include input and output block rates by category, escalation counts, classifier timeouts, malformed responses, guardrail bypass attempts, retrieval rejections, denied tool calls, stream interruptions, fallback frequency and GPU memory utilization.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Separate operational metrics from sensitive content. A dashboard can show category counts and latency percentiles without retaining full prompts. Apply access controls and retention limits to traces that must contain message fragments for incident response.

Also popular on Amazon
𝟒𝐏𝐚𝐜𝐤 𝐔𝐩𝐠𝐫𝐚𝐝𝐞𝐝 USB to USB C Adapter,Type-C Female to A Male Charger Converter for iPhone 18 Charger,iWatch Ultra SE 9 10,iPhone 17 Pro Max 16 15 14,Samsung S25,AirPods,iPad,Car,Xbox
  • 【Read before You Buy】 Note: This adapter is USB 2.0 version and cannot transmit HDM, VGA, or other video signals. Nevertheless, they are fully capable of charging devices,duplicating files, and can be seamlessly integrated with USB-C earphones, wireless network adapters, and SD card adapters.
  • 【Easy to Use and Safe】Thanks to modern manufacturing techniques, we've made these adapters sufficiently compact so that they can remain inserted in your device without noticeable protrusion or inconvenience. This means you don't have to constantly plug and unplug them, reducing the likelihood of wear and misalignment, and making them more convenient to carry around.
  • 【Reliable Quality】Engineered for enhanced durability, durable aluminum alloy shell material,get excellent wear resistance and heat dissipation,the male USB C and female USB connectors & the male USB and female USB C connectors are designed to be plugged and unplugged up to 20000 times. Provides data transfer, device charging, memory space expansion, and additional computer peripherals.
  • 【Think more for you】Do you need to connect a USB-C-enabled device to an odd device that only has USB-A ports? Then these USB-A male to USB-C female adapters are made for you.Simply insert the adapter into the USB-A port on the device, and you can instantly connect your USB-C device to the device that originally didn't have the correct connection port.
  • 【Trusted xiwxi Quality and Service】As a responsible brand seller, you will receive xiwxi's 12-month Quality assurance and lifetime friendly customer service, you're not just buying a product,you're investing in peace of mind with all-round quality and exceptional customer service.

Recheck health after deployments and during model updates. The Blueprint’s container health check is a useful liveness signal, while an application-level synthetic request is needed to prove that a safe message is allowed and an unsafe test fixture is blocked. Keep those fixtures sanitized and representative of your documented policy.

What are the current Blueprint limitations?

The reviewed NVIDIA RAG Blueprint documentation states that Helm-based NeMo Guardrails deployment is unsupported and that its jailbreak-detection model is unavailable. These are limitations of that Blueprint release, not a statement that every NeMo Guardrails deployment has the same capabilities. Confirm the notes for the exact Blueprint version you install before committing to a deployment design.

The official pages do not provide one universal performance statistic for all models or deployments. Latency, throughput and false-positive rates depend on model choice, endpoint location, concurrency, prompt length and policy configuration, so obtain figures for your own infrastructure and workload rather than treating an undocumented number as a guarantee.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Practical production checklist

  • Input and output rails are enabled on every user-facing route.
  • RAG context is checked before insertion into the generation prompt.
  • Tool names, arguments, permissions and side effects are validated before execution.
  • Topic, PII, jailbreak and content-safety controls match the application’s risk model.
  • The selected deployment has the required endpoint, credentials, GPU memory and network policy.
  • Self-hosted deployments reserve at least 48 GB of GPU memory for each guardrail model and use supported hardware.
  • ENABLE_GUARDRAILS, DEFAULT_CONFIG and GPU ID settings are correct for the chosen Blueprint mode.
  • Streaming is configured consistently with output rails.
  • Unsafe, safe, borderline, PII, retrieval, tool and outage cases have been exercised through the real application path.
  • Refusals, fallbacks, escalations, traces and retention rules are documented and versioned.

The durable design is a policy layer that sits between every untrusted input and every model or tool boundary. Start with the Python SDK or service, use the NVIDIA content-safety NIM for the moderation decision, and move to self-hosted or hosted inference according to your locality and capacity requirements.

Frequently Asked Questions

Can NeMo Guardrails replace my application LLM?

No. It orchestrates checks and policy flows around the application LLM and can return a configured alternative when a request is rejected. You still choose and operate the model that generates the primary answer.

Do I need a separate guardrail for retrieved documents?

For a RAG system, yes: inspect retrieved context before placing it in the model prompt. A user input check cannot detect malicious or unsafe text introduced later by search or a vector database.

What happens if the safety model is unavailable?

Define this explicitly per risk level. High-impact tool actions should fail closed or require human review, while a low-risk chat route can return a temporary-unavailable message without silently bypassing the rail.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Can I use the same policies with the SDK and a microservice?

The library and service use the same YAML and Colang configuration model, so policies can be reused when you change the integration boundary. You must still retest endpoint URLs, authentication, timeouts and streaming behavior after the move.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply. Prices as of December 6, 2026 1:35 am GMT.