Denver Alexa Meetup
Launch Event
Bob Stolzberg
Andy Hahn
Hosted by
Getting Started With Alexa Skills
https://www.madskills.io/2018/09/03/alexa-getting-started/
Devices with Alexa
New Voice Careers
• Project Manager – scope, schedule
• Voice UX Designer – field research, personas, scenarios, conversation
• Graphic Designer – branding, multimodal
• Developer – code, test, deploy, technical limitations
50,000+ SKILLS
Where is Alexa?
Alexa in US, UK, Germany, Austria, Spain, Italy, India,
Mexico, and more...
Don’t Miss: Alexa Developer Rewards
https://alexa.design/rewards
Don’t Miss: AWS Promotional Credits
https://alexa.design/awscredits
alexa.design/guide
Amazon Alexa Voice Design Guide
@AlexaDevs
Amazon Alexa
Developers
@AlexaDevs
SMAPI & ASK CLI
https://alexa.design/cli
https://alexa.design/smapi
alexa.design/forums
alexa.design/contactus
alexa.design/officehours
alexaslack.com
twitch.tv/amazonalexa
Get Support & Join the Community
@AlexaDevs
Amazon Alexa
Developers
@AlexaDevs
Public
● Custom
● Flash briefing
● Smart Home
● Video
Types of Skills
Alexa For Business
● Smart Conference Room
● Private Custom
Blueprints.Amazon.com
Create an Amazon
Alexa Skill:
Overview
Skill Development Lifecycle
3
VOICE UX DESIGN
DEVELOPMENT
1
CERTIFICATION
& DEPLOYMENT
2
Do:
• Design the Voice Experience
• Use experts in VUI design
• Use frameworks for quality
and speed of development
• Allow extra time for changes
during certification
Creating an Alexa Skill
</>
Frontend Definition Backend Code
developer.amazon.com
• Skill store information
• Interaction model (VUI)
• Configuration (Lambda, REST)
• Testing
• Publishing
aws.amazon.com (or other)
• Lambda (Node.js, Python, Java, C#)
• S3
• DynamoDB
Utterances, Intents & Code
</>
Frontend Definition Backend Code
Utterances
• Tell me a joke
• Give me a joke
• Get a joke
• Another joke
• Something funny
• Some humor
JokeIntent
It’s a Voice Browser
Web Server
URL
HTML
Web
Browser
API
Request
Response
Audio Stream
Audio Response
Custom Skill
Request
Response
Display
Card
ASR – Automatic Speech Recognition
NLU – Natural Language Understanding
TTS – Text to Speech
Just JSON
Custom Alexa Skill
Alexa
Service
JSON Request
JSON Response
AWS Lambda or REST endpoint
4 Main Requests
LaunchRequest – skill launched in conversation mode
IntentRequest – skill launched in single shot or utterance
used in conversation mode
CanFulfillIntentRequest - optional first party invocation
SessionEndedRequest – user ends the session
One Shot
Request
Response (tell)
USER: Alexa, ask _____________ to __________________________
ALEXA: {response} (session ends)
Alexa & Siri walk into a bar…
speech
wake launch invocation name utteranceconnect
Alexa, ask Joke Maker to tell me a joke
Conversational / Multi-turn
Request
Response (ask)
Alexa & Siri walk into a bar… I can tell you about things like puns and riddles. What would you like to do?
speech prompt
For a list of things I can do, say help.
reprompt
hint
USER: Alexa, start _____________
ALEXA: Welcome to the _____ skill. I can do things like ______ and _______. What would you like to do?
USER: {command/question}
ALEXA: {response}
…
USER: Goodbye
ALEXA: Come back soon. See ya later. (session ends)
wake launch invocation name
Alexa, start Joke Maker
utterance
tell me a joke
utterance
another joke
Wake & Launch Words
Wake Words
• Alexa
• Amazon
• Echo
• Computer
Launch Word Connectors
ask to, about, for, if,
whether
tell to, that
talk to, launch, start,
resume, run, load, begin
and
open for, and
use and, to
search for
ASK CLI
Need:
• Node.js – version 8.10
• developer.amazon.com
• aws.amazon.com
• Code editor
Do:
• npm install –g ask-cli
• ask init
• ask new
• ask deploy
Setup an Alexa Development Environment
https://www.madskills.io/2018/09/02/alexa-development-environment/
Thank you!

Getting Started With Alexa Skills

  • 1.
    Denver Alexa Meetup LaunchEvent Bob Stolzberg Andy Hahn Hosted by Getting Started With Alexa Skills https://www.madskills.io/2018/09/03/alexa-getting-started/
  • 2.
  • 5.
    New Voice Careers •Project Manager – scope, schedule • Voice UX Designer – field research, personas, scenarios, conversation • Graphic Designer – branding, multimodal • Developer – code, test, deploy, technical limitations
  • 6.
  • 7.
    Where is Alexa? Alexain US, UK, Germany, Austria, Spain, Italy, India, Mexico, and more...
  • 8.
    Don’t Miss: AlexaDeveloper Rewards https://alexa.design/rewards
  • 9.
    Don’t Miss: AWSPromotional Credits https://alexa.design/awscredits
  • 10.
    alexa.design/guide Amazon Alexa VoiceDesign Guide @AlexaDevs Amazon Alexa Developers @AlexaDevs
  • 11.
    SMAPI & ASKCLI https://alexa.design/cli https://alexa.design/smapi
  • 12.
  • 13.
    Public ● Custom ● Flashbriefing ● Smart Home ● Video Types of Skills Alexa For Business ● Smart Conference Room ● Private Custom
  • 14.
  • 15.
    Create an Amazon AlexaSkill: Overview
  • 16.
    Skill Development Lifecycle 3 VOICEUX DESIGN DEVELOPMENT 1 CERTIFICATION & DEPLOYMENT 2 Do: • Design the Voice Experience • Use experts in VUI design • Use frameworks for quality and speed of development • Allow extra time for changes during certification
  • 17.
    Creating an AlexaSkill </> Frontend Definition Backend Code developer.amazon.com • Skill store information • Interaction model (VUI) • Configuration (Lambda, REST) • Testing • Publishing aws.amazon.com (or other) • Lambda (Node.js, Python, Java, C#) • S3 • DynamoDB
  • 18.
    Utterances, Intents &Code </> Frontend Definition Backend Code Utterances • Tell me a joke • Give me a joke • Get a joke • Another joke • Something funny • Some humor JokeIntent
  • 19.
    It’s a VoiceBrowser Web Server URL HTML Web Browser API Request Response Audio Stream Audio Response Custom Skill Request Response Display Card ASR – Automatic Speech Recognition NLU – Natural Language Understanding TTS – Text to Speech
  • 20.
    Just JSON Custom AlexaSkill Alexa Service JSON Request JSON Response AWS Lambda or REST endpoint
  • 21.
    4 Main Requests LaunchRequest– skill launched in conversation mode IntentRequest – skill launched in single shot or utterance used in conversation mode CanFulfillIntentRequest - optional first party invocation SessionEndedRequest – user ends the session
  • 22.
    One Shot Request Response (tell) USER:Alexa, ask _____________ to __________________________ ALEXA: {response} (session ends) Alexa & Siri walk into a bar… speech wake launch invocation name utteranceconnect Alexa, ask Joke Maker to tell me a joke
  • 23.
    Conversational / Multi-turn Request Response(ask) Alexa & Siri walk into a bar… I can tell you about things like puns and riddles. What would you like to do? speech prompt For a list of things I can do, say help. reprompt hint USER: Alexa, start _____________ ALEXA: Welcome to the _____ skill. I can do things like ______ and _______. What would you like to do? USER: {command/question} ALEXA: {response} … USER: Goodbye ALEXA: Come back soon. See ya later. (session ends) wake launch invocation name Alexa, start Joke Maker utterance tell me a joke utterance another joke
  • 24.
    Wake & LaunchWords Wake Words • Alexa • Amazon • Echo • Computer Launch Word Connectors ask to, about, for, if, whether tell to, that talk to, launch, start, resume, run, load, begin and open for, and use and, to search for
  • 25.
    ASK CLI Need: • Node.js– version 8.10 • developer.amazon.com • aws.amazon.com • Code editor Do: • npm install –g ask-cli • ask init • ask new • ask deploy Setup an Alexa Development Environment https://www.madskills.io/2018/09/02/alexa-development-environment/
  • 26.