Skip to Content
Learn
Dialog Code Challenge
Challenge Intro

Welcome to the Dialog Management Code Challenge!

In each scenario of this Code Challenge, you’ll be given a set of conversations and a starting index.js. Based on the conversations, you will determine which dialog directive must be used to recreate those dialogs. Let’s review the syntax for the four directives you will be using:

this.emit(':delegate');
this.emit(':elicitSlot', slotToElicit, speechOutput, repromptSpeech, updatedIntent);
this.emit(':confirmSlot', slotToConfirm, speechOutput, repromptSpeech, updatedIntent);
this.emit(':confirmIntent', speechOutput, repromptSpeech, updatedIntent);

Instructions

In each scenario you will be making edits to the function for the Flight Booker skill. The main functionality without dialog management is provided to the right.

When you’re ready, let’s begin!

Folder Icon

Take this course for free

Already have an account?