This is a sandbox for Alexa Language Shorthand, a shorthand for generating Alexa Interaction Models. Edit the .als input, to see how the compiler translates that into a model.
declare a new intent, followed by utterances
INTENT intentName
this is an utterance
add a slot to an utterance with {} define the type with +
INTENT getThings
I would like {count} {thing} please
+ count as AMAZON.NUMBER
+ thing as MyThings
define a slot type with SLOTTYPE, followed by values. Separate synonyms with |
SLOTTYPE MyThings
shoe | shoes | kicks
hat | hats | fedora | fedorae
pants | leg concealers
define alternation in utterances using | too, limit it using ()
INTENT greetings
(hello | hi) there (bud|friend|guy|)
to simplify repetition, define a substitution with $
$people = bud|friend|guy|dude
INTENT greetings
(hello | hi) there ($people|)
what's (up|happening) my ($people)