Skip to main content

Digital Trends may earn a commission when you buy through links on our site. Why trust us?

Nvidia’s new Guardrails tool fixes the biggest problem with AI chatbots

Nvidia is introducing its new NeMo Guardrails tool for AI developers, and it promises to make AI chatbots like ChatGPT just a little less insane. The open-source software is available to developers now, and it focuses on three areas to make AI chatbots more useful and less unsettling.

The tool sits between the user and the Large Language Model (LLM) they’re interacting with. It’s a safety for chatbots, intercepting responses before they ever reach the language model to either stop the model from responding or to give it specific instructions about how to respond.

Bing Chat saying it wants to be human.
Jacob Roach / Digital Trends

Nvidia says NeMo Guardrails is focused on topical, safety, and security boundaries. The topical focus seems to be the most useful, as it forces the LLM to stay in a particular range of responses. Nvidia demoed Guardrails by showing a chatbot trained on the company’s HR database. When asked a question about Nvidia’s finances, it gave a canned response that was programmed with NeMo Guardrails.

This is important due to the many so-called hallucinations we’ve seen out of AI chatbots. Microsoft’s Bing Chat, for example, provided us with several bizarre and factually incorrect responses in our first demo. When faced with a question the LLM doesn’t understand, it will often make up a response in an attempt to satisfy the query. NeMo Guardrails aims to put a stop to those made-up responses.

Get your weekly teardown of the tech behind PC gaming
Check your inbox!

The safety and security tenets focus on filtering out unwanted responses from the LLM and preventing it from being toyed with by users. As we’ve already seen, you can jailbreak ChatGPT and other AI chatbots. NeMo Guardrails will take those queries and block them from ever reaching the LLM.

A diagram of Nvidia's NeMo Guardrails tool.
Image used with permission by copyright holder

Although NeMo Guardrails to built to keep chatbots on-topic and accurate, it isn’t a catch-all solution. Nvidia says it works best as a second line of defense, and that companies developing and deploying chatbots should still train the model on a set of safeguards.

Developers need to customize the tool to fit their applications, too. This allows NeoMo Guardrails to sit on top of middleware that AI models already use, such as LangChain, which already provides a framework for how AI chatbots are supposed to interact with users.

In addition to being open-source, Nvidia is also offering NeMo Guardrails as part of its AI Foundations service. This package provides several pre-trained models and frameworks for companies that don’t have the time or resources to train and maintain their own models.

Editors' Recommendations

Jacob Roach
Lead Reporter, PC Hardware
Jacob Roach is the lead reporter for PC hardware at Digital Trends. In addition to covering the latest PC components, from…
Macs just got a huge AI boost
The ChatGPT desktop app open in a window next to some code.

We're all waiting for Apple's big push into AI, but Macs just got their own boost of AI capabilities thanks to OpenAI. As part of its big spring update, OpenAI announced that its ChatGPT Mac desktop app would soon launch with some AI capabilities that are eerily similar to Microsoft's ambitions with Copilot.

Living in a browser, ChatGPT doesn't have context of anything else happening on your computer. But with a desktop app, the chatbot can have access to other things on the screen. In the demo, it opened the desktop app alongside another piece of software. Not unlike Copilot, ChatGPT could be asked what else was on the screen. This makes ChatGPT a bit more capable and contextually aware.

Read more
ChatGPT can laugh now, and it’s downright creepy
OpenAI's Mira Murati introduces GPT-4o.

We all saw it coming, and the day is finally here -- ChatGPT is slowly morphing into your friendly neighborhood AI, complete with the ability to creepily laugh alongside you if you say something funny, or go "aww" if you're being nice -- and that's just scratching at the surface of today's announcements. OpenAI just held a special Spring Update Event, during which it unveiled its latest large language model (LLM) -- GPT-4o. With this update, ChatGPT gets a desktop app, will be better and faster, but most of all, it becomes fully multimodal.

The event started with an introduction by Mira Murati, OpenAI's CTO, who revealed that today's updates aren't going to be just for the paid users -- GPT-4o is launching across the platform for both free users and paid subscribers. "The special thing about GPT-4o is that it brings GPT-4 level intelligence to everyone, including our free users," Murati said.

Read more
8 AI chatbots you should use instead of ChatGPT
Copilot on a laptop on a desk.

When ChatGPT launched in late 2022, it was a novelty. It didn't take long, however, for competition to come along.

Early on, there weren’t many ChatGPT alternatives available that weren’t in-house, research-based options or open source projects on GitHub that required some sort of coding knowledge to set up and operate. But since then, several companies have developed consumer products with free and paid tiers and a plethora of enterprise and developer options. So, if you aren't satisfied with ChatGPT for whatever reason, these are the eight other options to try out instead.
Microsoft Copilot

Read more