Skip to content

Latest commit

 

History

History
 
 

dialog-directive-delegate

Delegate Dialog Directive Sample Project

Voice User InterfaceLambda FunctionConnect VUI to CodeTesting

What You Will Learn

What You Will Need

What Your Skill Will Do

Focus on building the best voice experience, not error handling. The skill builder’s new dialog model reduces the amount of handling required in the skill endpoint (backend) to manage slot filling, prompts, and confirmations for a customer intent. All you have to do is respond with a Dialog.Delegate directive if the status in not complete. Alexa will manage the dialogs for you, greatly reducing the amount of handling needed by you to create a great experience.

The "Plan my trip" sample asks the user questions about an upcoming trip they'd like to take. As a part of this Alexa will gather information about when the trip will start as well as where they'd like to leave from and go to. You'll learn how to use the skill builder to create the intents, utterances, and slots for this scenario. This code sample will also show you how to delegate the process of gathering the required slots to Alexa.