NeMo Guardrails

NeMo Guardrails

Programmable AI guardrails for safer, more controlled conversations
NeMo Guardrails cover
Preview

Resume

NeMo Guardrails is an open-source AI agent toolkit for adding programmable safety controls to large language model conversations, enabling developers to create more trustworthy and secure conversational applications with fine-grained dialog management.

Details

Introducing NeMo Guardrails: Enhancing Safety and Reliability in Conversational AI

NeMo Guardrails, an innovative open-source toolkit created by NVIDIA, is specifically crafted to elevate the safety, control, and dependability of large language model (LLM) based conversational systems. This advanced toolkit equips developers with a robust framework to deploy customizable guardrails that steer, moderate, and safeguard AI interactions effectively.

Key Features

  • Programmable guardrails: Covering five crucial dimensions - input, dialog, retrieval, execution, and output rails
  • Support for multiple LLM models: Including OpenAI GPT, LLaMa-2, Falcon, and more
  • Custom dialog flow modeling: Utilizing Colang, a specialized language for conversation design
  • Built-in guardrails: For jailbreak detection, content moderation, and fact-checking
  • Seamless integration: With LangChain and other AI development frameworks
  • Async-first Python API: Offering asynchronous method support

Use Cases

  • Developing secure and controlled conversational AI assistants
  • Customizing domain-specific chatbots with precise interaction guidelines
  • Enhancing safety measures in retrieval-augmented generation (RAG) systems
  • Establishing secure LLM endpoints for customer interactions
  • Creating enterprise-level conversational AI with enforced behavioral controls

Technical Specifications

  • Python Compatibility: Versions 3.9 to 3.11 are supported
  • LLM Backends: Compatibility with multiple LLM backends
  • Colang Language Support: Versions 1.0 and 2.0 are fully supported
  • Modular Configuration: Configurable setup using YAML
  • License: Apache 2.0
  • Deployment Options: Comprehensive CLI and server deployment choices

Tags

dialog-flow-control
safe-llm-endpoints
jailbreak-detection
ai-content-moderation
llm-guardrails
conversational-ai-safety
rag-security
colang-scripting