Created
August 29, 2018 14:19
-
-
Save koblas/19733584dc21ab77c69c79eee4799643 to your computer and use it in GitHub Desktop.
failing alexa response
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
{ | |
"version": "1.0", | |
"sessionAttributes": { | |
"Counter": 1, | |
"QuizAnswer": "Jefferson City", | |
"QuizItemIndex": 24, | |
"QuizProperty": "Capital", | |
"QuizScore": 0, | |
"State": 1 | |
}, | |
"response": { | |
"outputSpeech": { | |
"type": "SSML", | |
"ssml": "<speak>OK. I will ask you 10 questions about the United States. Here is your 1th question. What is the Capital of Missouri?</speak>" | |
}, | |
"reprompt": { | |
"outputSpeech": { | |
"type": "SSML", | |
"ssml": "<speak>Here is your 1th question. What is the Capital of Missouri?</speak>" | |
} | |
}, | |
"directives": [ | |
{ | |
"type": "Display.RenderTemplate", | |
"template": { | |
"type": "ListTemplate1", | |
"token": "QUESTION", | |
"backButton": "HIDDEN", | |
"backgroundImage": { | |
"sources": [ | |
{ | |
"url": "https://m.media-amazon.com/images/G/01/mobile-apps/dex/alexa/alexa-skills-kit/tutorials/quiz-game/state_flag/1024x600/MO._TTH_.png" | |
} | |
] | |
}, | |
"title": "Question #1", | |
"textContent": { | |
"primaryText": { | |
"type": "RichText", | |
"text": "What is the Capital of Missouri?" | |
}, | |
"secondaryText": { | |
"type": "Plaintext" | |
}, | |
"tertiaryText": { | |
"type": "Plaintext" | |
} | |
}, | |
"listItems": [ | |
{ | |
"token": "item_1", | |
"textContent": { | |
"primaryText": { | |
"type": "RichText", | |
"text": "Jefferson City" | |
}, | |
"secondaryText": { | |
"type": "Plaintext" | |
}, | |
"tertiaryText": { | |
"type": "Plaintext" | |
} | |
} | |
}, | |
{ | |
"token": "item_2", | |
"textContent": { | |
"primaryText": { | |
"type": "RichText", | |
"text": "Cheyenne" | |
}, | |
"secondaryText": { | |
"type": "Plaintext" | |
}, | |
"tertiaryText": { | |
"type": "Plaintext" | |
} | |
} | |
}, | |
{ | |
"token": "item_3", | |
"textContent": { | |
"primaryText": { | |
"type": "RichText", | |
"text": "Trenton" | |
}, | |
"secondaryText": { | |
"type": "Plaintext" | |
}, | |
"tertiaryText": { | |
"type": "Plaintext" | |
} | |
} | |
} | |
] | |
} | |
} | |
], | |
"shouldEndSession": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment