In this section, you will improve the previous chapter's Cooking application by adding Alexa's dialog features. Notice that the GetCookingIntent you created in previous chapter contains DietTypes and Foods slots. If the user does not provide all the required fields, you will not be able to complete the search query for finding dishes. In order to make sure the user gives you all the required information, you will be using Dialog.Directive. There are four dialog directives:
- Dialog.Delegate: Alexa automatically handles conversations, which helps gather the information required for the intents based on the dialog model created in the skill builder. The slots and intents can have prompts to ask the user for the required information, then the utterances will be defined in the slots and the intents to match the user's responses to the specific...