Leave a Way Out
Part of the AI Decisions section of Coddy's AI Prompts journey. Lesson 4 of 22.
The AI must pick one of your options, even when none fits. A message you did not plan for still lands somewhere, and often with confidence.
A pizza shop's chat sorts messages into order and hours. Then someone asks Do you sell gift cards?
hours █████████░░░░░░░░░░░ 45%
order ███████████░░░░░░░░░ 55%Add an other option for anything else:
hours ░░░░░░░░░░░░░░░░░░░░ 0%
order ░░░░░░░░░░░░░░░░░░░░ 0%
other ████████████████████ 100%An other option is a way out. Your app can send those messages to a person instead of guessing.
Challenge
EasyA shop routes messages to billing and shipping. People also ask about jobs, pets and opening hours, and those land in a team that cannot help.
Add an option named other for everything else, with a description, so every test message ends up in the right place.
This lesson includes a short quiz. Start the lesson to answer it and track your progress.