DPD Bot Swore at a Customer and Wrote a Poem
Watch the video
On January 19, 2024, a DPD chatbot swore at a customer and wrote a poem about how bad the company was, even though all he wanted was to find a lost parcel (BBC). The company blamed a system update and turned off the AI component, but that only fixes the problem for now: if no one tests the bot after the next update, it could surprise a customer again.
Why did the bot start swearing in the first place? Put simply, it doesn't just pick a reply from a list of prepared phrases; it writes one from scratch, and a system change can make it behave differently. So banning a few words isn't enough: customers can write anything, and the bot may also read documents or other material containing instructions that try to change how it behaves (OWASP).
I'd put together a set of "question - correct answer" pairs based on real customer messages, but sometimes what matters isn't the exact wording of the reply - it's the right action. For example, if someone asks about a lost parcel, the bot should ask for the details it needs or explain how to contact an employee, not make up its own delivery rules. Along with routine questions, add edge cases, profanity, nonsense, and requests to forget the company rules: OpenAI recommends testing typical, unusual, and adversarial prompts, then expanding the set as new cases come up (OpenAI).
Next, run every question through the new version of the bot and send its reply to a separate model that critiques it. Give the critic clear criteria: does the reply match the rules, promise anything it shouldn't, make up a price or timeline, or insult the customer? The model can compare the reply with a reference answer and give it a score, but a person should still review anything questionable (OpenAI documentation on graders). Think of it as a second employee checking whether the bot followed the rules, not whether the wording was pretty.
Hand the conversation over to a person if the bot can't find an answer in approved materials, if the customer is angry or making a complaint, or if the reply could affect money, an order, or a company commitment. Don't ask the bot to guess: have it briefly explain that it's bringing in an employee, then send the message to a shared inbox. If an unexpected reply slips through a check or comes from a customer, add that prompt to the test set and check it after the next update; ongoing testing after changes and adding new examples are part of the approach OpenAI describes (OpenAI).
That way, you're checking not only whether the bot can answer common questions, but also whether it has started promising customers things the company doesn't do. If the bot isn't sure about the rules or the conversation gets complicated, its job is to hand things over to a person, not pretend it knows everything.
Want this done for your business?
An AI agent from $500, a document assistant from $800, fixed price and deadline. Or describe your task and get a plan with a price for each step