Created
May 9, 2018 16:54
-
-
Save memodoring/425761914e4094324bb67b483e6caefe to your computer and use it in GitHub Desktop.
A sample of building a response with the Alexa SDK V2 for Node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return handlerInput.responseBuilder | |
.speak(speechOutput) | |
.withSimpleCard(SKILL_NAME, randomFact) | |
.reprompt(‘Would you like another fact?’) | |
.getResponse(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment