Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel1
outlinefalse
stylenone
typelist
printabletrue

Safeguards allow you to block AI outputs based on specific keywords in responses. They are perfect for preventing harmful, unethical, and dangerous responses from Await Cortex. They also help protect against malicious prompt injections and jailbreaking.

Feature: Safeguards

Instructions

Expand
titleClick to Expand
  1. Go to the agent's tab and click on an agent you have created

    image-20240424-185813.pngImage Modified
  2. Once inside your agent panel you will have 4 tabs to choose from - Configuration, Chat Interface, Analytics, Cached Answers, and Safeguards. Click Safeguards.

image-20240425-021349.pngImage Modified
  1. Now you’ve arrived in the safeguards screen. This is where you can configure them.

    image-20240425-021726.pngImage Modified

    image-20240425-024133.pngImage Modified

    image-20240425-024047.pngImage Modified

  2. To create a new safeguard click the “Add New” button in the top right.

    image-20240425-024103.pngImage Modified

  3. Now you are in the create safeguard screen - fill in the fields to create your first safeguard:

image-20240425-024008.pngImage Modified

Fallback and Warning Example

A Fallback makes the AI respond with a canned response based on your keyword flags

A Warning allows the AI to generate a response put provides a disclaimer for it’s answer

Safeguard Example: Medical Disclaimer

image-20240425-030418.png

What it looks like in the agent:

Fallback

image-20240425-025804.png

Disclaimer

image-20240425-025754.png

Replace

Info

Replace safeguards allow you replace - keyword flags with a canned message.

image-20240517-235555.pngImage Added