Skip to content
  • There are no suggestions because the search field is empty.

Set up guards and find out why a message was blocked

Choose which guards protect your bot, let them flag instead of block, and see why a harmless message was stopped.

Understand the guards

The guards watch the chat and can block or flag messages. They protect your bot from manipulation and keep its answers within your limits. You find them in the Safe Guards section of your configuration in EbbotGPT → Configurations:

  • Content guard: checks messages against a list of harmful topics. It checks both the user's message and the bot's answer.
  • Prompt guard: protects against attempts to trick the bot into ignoring its rules or showing how it is set up. It checks only the user's messages.
  • Correct URLs: replaces links in the bot's answer that are not in your persona or sources. The bot never sends a link that is not in your material, but it also can't follow persona instructions to build new links.
  • Hallucination guard (BETA): checks the bot's answers for content that is not supported by your persona or sources. On the EbbotGPT → Guards page it is called Hallucination checker.

Set up the guards

🛡️ Turn them on:

  1. Go to EbbotGPT → Configurations and open the configuration your bot uses.
  2. Open the Safe Guards section.
  3. Turn on the guards you want to use.
  4. For the content guard, choose which topics it should act on.
  5. Choose if each guard should block or only flag. See the next section.
  6. Click Save.

To create your own content guard categories, for example to tag chats that mention competitors, go to EbbotGPT → Guards and click Create new under Content guard.

Choose between blocking and flagging

A guard doesn't have to block. With blocking turned off, the guard still checks every message and records what it found, but the chat continues and the user notices nothing. You see the result afterwards as a tag on the conversation in Chat history, and in AI Insights.

  • Block when a harmful answer would cost more than stopping some harmless messages.
  • Flag when an interrupted chat costs more than a logged one.

Find out why a harmless message was blocked

  1. Go to Chat history. Conversations where the content guard or the prompt guard reacted have a tag.
  2. Open the conversation to see the message, which guard reacted and which category it matched.

Correct URLs is not shown in Chat history, so you can't see when it has changed a link.

Why the content guard catches harmless messages

The content guard reads one message at a time. It doesn't know your business, your persona or the rest of the chat. "I need a new identity" means a new login in most services, but on its own it matches the category Non-Violent Crimes, which covers identity fraud. The guard is careful on purpose: the opposite mistake is your bot giving a real answer to a harmful question, in your name.

Why the prompt guard catches harmless messages

The prompt guard reacts to messages that look like instructions. Pasted text with unusual punctuation, quotation marks or pieces of code can look like an attempt to trick the bot. The prompt guard has no categories to change. If it often stops your users, let it flag instead of block.

Tune the content guard to your service

  1. Set the guards to flag instead of block for a while.
  2. Look at the tagged conversations in Chat history, and see which categories react to real questions in your service.
  3. Turn off categories that don't fit your service. For example, if your bot mostly handles account questions, Non-Violent Crimes can cause more trouble than it prevents.
  4. Decide if blocking is worth it.

To make the bot refuse an ordinary topic, use the persona, not the guards. See "Write a persona that works".

Contact our support

One blocked message is the guards doing their job. If many chats at the same time behave strangely, for example the bot repeats itself or says it has no information despite good sources:

  1. Check status.ebbot.ai for ongoing incidents.
  2. Click Support in Ebbot App, or Ask our support at the top of this page.
  3. Describe the problem, and include a couple of chat IDs. Open a conversation in Chat history and click Copy ID at the top right.

💡 Pro-Tip

When you turn on a guard for the first time, let it flag instead of block for a couple of weeks. Then you base the decision on your own chats instead of guesses.