December 2019
Intermediate to advanced
382 pages
9h 43m
English
Prompts are when the bot puts questions to the user in order to populate fields and parameters in slots. This information is required to complete the action asked in the intent. Prompts are really useful when it's not obvious to the user exactly what information needs to be provided. As we've learned already, an utterance may have a number of slots that need to be filled, and a prompt is a way of asking the user for those values.
In our airline example, if you ask Can I book a flight?, the bot doesn't magically know all of your travel intentions—more information is needed. In this example, a prompt back to the user for this intent might be as follows:
Your bot ...