Created
January 12, 2017 22:46
-
-
Save kevinl95/28f6cc42ee81e15c340dbeb2d10da21f to your computer and use it in GitHub Desktop.
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
function output( text, context ) { | |
var response = { | |
outputSpeech: { | |
type: "PlainText", | |
text: text | |
}, | |
card: { | |
type: "Simple", | |
title: "Thornton Windchill", | |
content: text | |
}, | |
shouldEndSession: true | |
}; | |
context.succeed( { response: response } ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment