Learn

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!

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?