Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Speak Out Loud

fishhelper
December 13, 2016

Speak Out Loud

Presentation on Alexa - to the DC Emerging Technologies Meetup. 12/13/2016. (https://developer.amazon.com/alexa)

fishhelper

December 13, 2016
Tweet

More Decks by fishhelper

Other Decks in Technology

Transcript

  1. Amar Zumkhawala, MBA Amazon Web Services Solutions Architect Alexa Hacker

    Serverless Apps Lover Member, ACM Alexa Projects: • Smart Home Powered By Amazon Alexa • Arlington Voter Guide Contact Me: [email protected] SpicyKey LLC LinkedIn: linkedin.com/in/amarzumkhawala
  2. What is Alexa? Alexa is a software service - accessible

    through hardware - that operates in the cloud.
  3. Voice as an Interface User centered experiences, where the user

    and the interface converse. Outcomes, in the physical or virtual.
  4. Demo • Alexa, what day is it? • Alexa, tell

    me a random fact • Alexa, do you have any new features?
  5. Philosophy What can be done better, hands free? What is

    natural? Each individual is different: age, personal preferences, roles, social customs, physical disabilities, mental disabilities.
  6. With Alexa, a user can... Play Music Search The Web

    Add New Skills To Do Lists Flash Briefings Home Automation Ask about the weather Search for Products Connect to IFTTT Control a Conference Room Control a NASA JPL Robot Park the car (TBD)
  7. Amazon Echo Hardware Specification Light Ring Far Field Voice Recognition

    9.3" x 3.3" x 3.3" 37.5 oz. 802.11a/b/g/n Wi-Fi Bluetooth Two Speakers: 2.5 inch woofer and 2.0 inch tweeter Volume Ring Reflex Port 7 microphones Microphone Off Button Power Cord Sealed Container Additional Hardware Board For Sound Main Motherboard
  8. Alexa and Voice Interfaces Developers build voice experiences for users

    with Amazon Alexa. Amazon offers hardware providing access to Alexa. Developers can build alexa driven experiences on their own hardware, a user’s hardware, or a third party hardware.
  9. Alexa Skills An Alexa skill - a concept - a

    software program that spans the network and hardware systems. Operates using alexa APIs and software libraries. Keeping the user in control - a user adds or removes a skill from Alexa.
  10. User talks to your custom skill User Microphone Local Hardware

    Network Alexa Natural Language Processing Alexa Decides which Skill’s Intent Custom Skill
  11. Your skill creates outcomes... Custom Skill MicroService API Invocation SSML

    Response Message a device Alter a virtual world Alter your mixed reality Audio Response Alter your physical environment Visual Response
  12. Customer Skill Invocation Style • OneShot ◦ “Alexa, ask August

    lock to check on my front door lock” • Conversational: ◦ [User] Alexa, open travel calendar ◦ [Alexa] Hi, How can I help? ◦ [User] Alexa, tell me my travel schedule ◦ [Alexa] Sure, you have three appointments today.
  13. Amazon Skill Store Certified Custom Skills are published to the

    store. Documentation on how to use a custom skill. User reviews. Each version must be certified. Developers must submit an skill for certification and wait 2-7 days before available in the store. Users enable or disable skills available.
  14. Demo - Arlington Voter Guide • Alexa, ask Arlington Voter

    Guide where I vote in Ballston? ◦ Google Civic API ◦ Federal Election Commission API ◦ Huffington Post API ◦ Hand coded Information
  15. Alexa Custom Skill - Defining an Interface Intents - Alexa,

    ask [Arlington Voter Guide] to tell me where I can vote in Ballston PollStationIntent
  16. Code for a custom Skill Example - Lambda in JavaScript

    EC6 Expected JSON Input Expected JSON Output
  17. Skill JSON Request • Intent • Slot Values • User

    Id • Session Id • Session Attributes • TimeStamp • Language
  18. Skill JSON Response • ResponseType (speech, visual card) • Text

    or SSML • Session Attributes • Whether to end the session • Reprompt Speech
  19. Skill Sessions • A Custom Skill may create a session,

    manage it • Session can last minutes • Sessions may have skill defined attributes • Users do not see session attributes • Sessions automatically expire by Alexa’s Cloud Services
  20. AWS Lambda or your own service • Host your custom

    skill on AWS Lambda • Host your custom skill on your own microservice
  21. Demo Skills with Outcomes - generating a notification for a

    user IFTTT - Do it yourself users Connecting Alexa to the Internet of Things
  22. Account Linking Improve the custom skill experience by linking to

    an account. A user links her account with the Alexa mobile app or within the online skill store.
  23. Alexa Software & Services from Amazon Alexa Skills Kit -

    APIs and components for software developers for custom software developer.amazon.com/alexa - Configuration dashboard for skills Alexa Voice Services - for custom hardware Alexa Software Developer Kit - java and javascript
  24. For More Information • Alexa Meetup Groups • Alexa Hackathons

    • Money from Alexa Fund • Innovation labs at large companies, hospitals, non-profits • Online Forums • Conferences (re:Invent) • YouTube videos • Books
  25. Documentation How to Build A Custom Skill - https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/overviews/steps-to-build-a-custom-skill Voice

    Design Best Practices - https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/alexa-skills-kit-voice-design-best-practices Speech Synthesis Markup Language (SSML) - https://www.w3.org/TR/speech-synthesis/ Alexa Blog - https://developer.amazon.com/blogs/tag/Alexa re:Invent Videos on YouTube - https://www.youtube.com/results?search_query=re%3Ainvent+alexa+2016
  26. Amar Zumkhawala, MBA SpicyKey LLC Contact Me: [email protected] SpicyKey LLC

    LinkedIn: linkedin.com/in/amarzumkhawala Thank You!