25. Skill Information:
Skill Type
• Different types of Skills
• Custom: the most flexible
• Smart Home Skill: don't have to use the
"magic word" (the Invocation Name)
• Flash Briefing: news
32. Utterances
• Step 1 in writing your AlexaVoice Skill
• Write down things you want to say
• Look for Patterns
33. Utterances
"Ask HomeStar…"
• turn on Stove
• turn off Stove
• turn on Light
• turn on Light in the
Kitchen
• turn off TV
• turn off Living Room TV
• turn off everything
• to turn off everything
• to turn off everything in
the Living Room
• turn down TV
• turn down TV in the
Living Room
34. Utterances
"Ask HomeStar…"
• turn on {Thing}
• turn off {Thing}
• turn on {Thing}
• turn on {Thing} in the
Kitchen
• turn off {Thing}
• turn off Living Room
{Thing}
• turn off {Thing}
• to turn off {Thing}
• to turn off {Thing} in the
Living Room
• turn down {Thing}
35. Utterances
"Ask HomeStar…"
• turn on {Thing}
• turn off {Thing}
• turn on {Thing}
• turn on {Thing} in the
{Zone}
• turn off {Thing}
• turn off {Zone} {Thing}
• turn off {Thing}
• to turn off {Thing}
• to turn off {Thing} in the
{Zone}
• turn down {Thing}
• turn down {Thing} in the
{Zone}
36. Utterances
"Ask HomeStar…"
• {Action} {Thing}
• {Action} {Thing}
• {Action} {Thing}
• {Action} {Thing} in the
{Zone}
• {Action} {Thing}
• {Action} {Zone} {Thing}
• {Action} {Thing}
• to {Action} {Thing}
• to {Action} {Thing} in
the {Zone}
• {Action} {Thing}
• {Action} {Thing} in the
{Zone}
37. Utterances
"Ask HomeStar…"
• {Action} {Thing}
• to {Action} {Thing}
• {Action} {Thing} in the
{Zone}
• to {Action} {Thing} in
the {Zone}
• {Action} {Zone} {Thing}
• to {Action} {Zone}
{Thing}
38. Slots
• These are the {variables} in the Utterances
• e.g. {Thing}, {Zone}, {Action}
• two types of slots:
• Custom (e.g. above)
• Built-In
42. Slots {Zone}
• Back Door
• Back Garden
• Back Hall
• Back Porch
• Basement
• Basement Bathroom…
43. Intents
• Basically, Intents are "phases" of your
conversation with Alexa
• If "single shot" then this isn't very
complicated - just define a "FirstIntent", e.g.
HomeStarFirst Intent
49. Configuration:
Account Linking
• Used for connecting to systems that have
accounts!
• E.g. Smart Homes - what Smart Home does
Alexa have to talk to
• Set up when user connects to Skill
50. Configuration:
Account Linking
• Alexa calls your Authorize URL with a
number of parameters
• Let the user do something on your website
to confirm it
• Your website redirects back to Alexa with a
number of magic parameters
58. The Request
• "session"
• a session of interactions (captured in
Intents) between user and Alexa
• user login info (from Account Linking)
• "request"
• the Intent and Slot data
60. The Request
"session"
• "new": we can be continuing a session
• "sessionId": in case you are, for logging
• "user": all this is set up by Account Linking
• not required if just for yourself