Created
December 4, 2019 18:56
-
-
Save ig-perez/1daa4acd982f9fdac235eead6da31081 to your computer and use it in GitHub Desktop.
Bespoken Sample: A more complex unit test script.
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
--- | |
configuration: | |
locale: en-US | |
--- | |
- test: Using succinct syntax to invoke the intent with slots. | |
- tags: FirstUse | |
- LaunchRequest: | |
- response.outputSpeech.ssml: /.*how many people are playing today.*/i | |
- response.shouldEndSession: false | |
- sessionAttributes.STATE: _START_MODE | |
- GetPlayerNumber Number=1: please tell us your name | |
- GetContestantName PlayerName=jordi: "let's start the game: jordi” | |
- GetContestantPrice Number=149: | |
- response.outputSpeech.ssml: /.*you said 149*/i | |
- sessionAttributes.STATE: _GAME_ROUND | |
- sessionAttributes.players[0].name: jordi | |
- AMAZON.StopIntent: | |
- response.outputSpeech.ssml: | |
- Hope to see you soon | |
- See you around | |
- Nice playing with you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment