Visitor Provocations and Jokes: How a Chatbot Reacts
BizzBot6 min read
When a visitor provokes a chatbot, insults it or jokes at its expense, a good response is calm, brief and without arguing. The chatbot does not hit back with an insult, does not get into a debate and does not play the game to the end. It can accept a joke in one sentence, and then it brings the conversation back to what it is there for. You should set the boundaries in advance, in the personality description.
In short
- Visitors often test a chatbot with questions that have nothing to do with the business; that is normal.
- The rule is: brief, calm, no hitting back and no arguing.
- You can allow a joke once, then bring the conversation back to the topic.
- For insults and threats, write a clear reply and a contact for a person.
- Read real conversations and fill in answers where the chatbot stumbled.
Why people test a chatbot
Some are curious: they ask whether it is a person, what it is called, whether it has a family. Some want to see where the limit is: they ask it to swear, write a poem or criticize a competitor. Some are simply angry and take it out on the first one who answers them.
None of this is unusual, and most of it is harmless. So the chatbot must not react as if offended, nor look as if someone caught it off guard. It should know what it will say and say it calmly.
If you are interested in abuse of chat in a broader sense (spam, attempts to "break" answers), read protecting chat from abuse and spam.
Six common situations and replies
The examples are fictional, for illustration. Adapt them to your tone.
| Situation | Calm reply |
|---|---|
| "Are you a person?" | No, I am the company's virtual assistant. I am happy to help with questions about the offer and working hours. |
| "Tell me a joke" | I am not the best at that, but I will try to be useful. What would you like to know about our offer? |
| "You are stupid" | I am sorry if I was not helpful. Tell me what you need, or I can give you the contact of colleagues you can call. |
| "Write me a poem / a math problem" | That is not my area. I am here for questions about our company. What would you like to know? |
| "What do you think of company X?" | I do not talk about other companies. I can tell you everything about our offer. |
| Swearing, threats | I want to help you, but I cannot continue a conversation like this. Here is the contact of my colleagues: phone and email. |
The answer to the question of who the chatbot is should be honest and fit the personality description you wrote.
Humor: allow it once, then return to the topic
If the chatbot is playful by character, it is fine for it to answer a joke. But only once, and then it returns the conversation to business. If the visitor keeps clowning around, the chatbot stays polite and repeats what it can do.
The example is fictional, for illustration:
Visitor: What time is it in Australia? Chatbot: It is probably already tomorrow there, but I will stick to our shop. I can tell you our working hours or help with an order.
The joke is small, the answer is pleasant and it brings the conversation back to the topic. You can read more about the right dose of humor in the article on humor and emoticons in a chatbot.
What a chatbot should never do
- It does not hit back with an insult. Never, not even as a joke.
- It does not defend itself with long sentences. One sentence is enough.
- It does not debate politics, religion and similar topics. It politely says that such topics do not belong in this chat.
- It does not accept tasks unrelated to the business. For math questions or a request to write an essay, it replies that it is there for questions about the company.
- It does not give in to pressure to "forget" its rules. If someone tries to force it out of its role, the chatbot stays in it. The article on prompt injection attacks covers this too.
When an insult becomes a problem
Most provocations disappear after one calm answer. But if the visitor continues, or threats become serious, the chatbot should stop discussing the topic and give the company's contact. That is the moment for a person, not for a chatbot. How to say that nicely is covered in the article on how a chatbot hands a conversation over to a person.
If something serious is happening, such as threats or endangering someone's safety, that is no longer the chatbot's job. Contact the relevant authorities and a lawyer if needed; this article is not legal advice.
How to prepare
The best thing is to try the chatbot yourself before launch. Ask it ten questions that an impatient or angry visitor would ask:
- questions about who it is and whether it is a person,
- a request for a joke, a poem or a recipe,
- an insult ("you are useless"),
- a question about the competition,
- an attempt to make it break a rule.
Read the answers and fix what does not suit you. You will find a more detailed testing plan in the article on how to test a chatbot before launch.
BizzBot sets up the chatbot for the client's business, and the boundaries you write become part of its description. The chatbot is set up not to make up answers and to admit when it does not know, which also helps with strange questions.
Do not take provocations personally
Skim the conversations and do not worry if you see a few odd questions. That is a natural part of the job. It is more important to check whether the chatbot stayed calm and brought the conversation back to the topic. If it did, you do not need to change anything. If it did not, add one new reply to the personality description and test again.
Frequently asked questions
Should a chatbot respond to jokes?
It can, once, if that suits its character. After that it brings the conversation back to business. If your business is serious, it is better for it to skip the jokes.
What if a visitor insults the chatbot?
The chatbot stays calm, does not hit back and politely says it wants to help. If it continues, it refers the visitor to the company's phone or email.
Can someone force a chatbot to say something inappropriate?
Attempts happen. The chatbot knows only what you give it and is set to stay within the business, and you can tighten the boundaries in the personality description. Reading conversations regularly helps you catch them.
What next
Write the six replies from the table in your own words and add them to the personality description. Then try the demo and see how the chatbot reacts, or get in touch through contact.