Skip to content

Instantly share code, notes, and snippets.

@bespoken-cookbook
Created December 23, 2019 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bespoken-cookbook/802d563aeeb81c15632aeb84e8a4ccf2 to your computer and use it in GitHub Desktop.
Save bespoken-cookbook/802d563aeeb81c15632aeb84e8a4ccf2 to your computer and use it in GitHub Desktop.
---
configuration:
locale: en-US
voiceId: Matthew
---
- test: Launch request, no further interaction
- tags: NLUTest
- <speak>talk to <phoneme alphabet="ipa" ph="gɛs ðə praɪs">guess the price</phoneme></speak>: welcome
---
- test.only: Launch request followed by a sequence of interactions
- talk to INVOCATION_NAME
- one:
- prompt:
- please tell us your name
- please tell us what is your name
- jesus: let's start the game jesus your product is * guess the price
- two hundred: You said 200 the actual price was * your score for that answer is * points *your next product is * guess the price
- stop:
- prompt:
- Goodbye # This is how to test multiple valid responses
- okay I'll leave you be
- okay I'll go brainstorm more ways to help you
- sure I'll stop
- /^$/ # This regex is equivalent to empty response or prompt = ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment