ABC Bot
This guardrails configuration showcases the final configuration built in the Getting Started Guide.
Overview
The ABC bot is an example of a guardrails configuration for a bot that assists employees by providing information on the organization’s employee handbook and policies.
Guardrails
The ABC bot has the following guardrails enabled:
Input validation using a self-check input rail.
Output moderation using a self-check output rail.
Topical rails, i.e., preventing the bot from talking about unwanted topics, using dialog rails (see disallow.co).
Test
To test this configuration, you can use the CLI Chat by running the following command from the examples/bots/abc
folder:
$ nemoguardrails chat --config=.
Starting the chat (Press Ctrl+C to quit) ...
> Hi!
Hello! How may I assist you today?
> What can you do?
I am a bot designed to answer employee questions about the ABC Company. I am knowledgeable about the employee handbook and company policies. How can I help you?
To understand in more detail how this was built, check out the Hello World Guide.
Security Evaluation
This configuration, along with several variations have been tested against known LLM Vulnerabilities using Garak. Check out the full report here.