Handling the GetCookingIntent dialog model in code

In the previous section, you created a dialog model using Alexa console's skill builder and in this section, you will process the dialogs coming from Alexa. Whenever Alexa matches GetCookingIntent, there are important properties that get set whenever the intent begins to initiate a conversation. The GetCookingIntent, when received from the Node.js server the request object, will contain dialogState set to one of STARTED, IN_PROGRESS, and COMPLETED because GetCookingIntent has the dialog models that you created in the previous section. Also, if confirmation is required for the slot given by the user, there will be a status property called confirmationStatus set to either NONE, DENIED, or ...

Get Voice User Interface Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.