Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

More Related Content

You Might Also Like

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Screencast dave dev-introtoask-andecho-july2015

  1. 1. An Introduction to Amazon Echo and the Alexa Skills Kit DAVE ISBITSKI PRINCIPAL EVANGELIST, AMAZON @TheDaveDev isbitski@amazon.com
  2. 2. 2 http://developer.amazon.com/ask http://developer.amazon.com/blog
  3. 3. Alexa, Hello.
  4. 4. Amazon Echo App
  5. 5. Alexa Skills Kit (ASK) Overview
  6. 6. ALEXA SKILLS KIT (ASK) https://developer.amazon.com/ask
  7. 7. ALEXA VOICE SERVICE (AVS) https://developer.amazon.com/avs
  8. 8. THE ALEXA FUND https://developer.amazon.com/alexafund
  9. 9. Alexa is the cloud service used by Amazon Echo The Alexa Skills Kit allows developers to build new Skills (new voice experiences) for Echo ALEXA SKILLS KIT
  10. 10. Alexa Architecture Amazon Alexa ServiceGUI cards are rendered in the Amazon Echo app User audio is streamed to the service Audio responses are rendered on- device
  11. 11. Creating your own ALEXA SKILLS Alexa Skills have two parts: Configuration data in Amazon Developer Portal Hosted Service responding to user requests
  12. 12. Alexa Skills Kit Architecture Amazon Alexa Service Developer’s Application Service Amazon’s Developer Portal Application, intents, sample data Developer Service URL EndPoint Configured through portal User intents and arguments are sent to the developer service GUI cards are rendered in the Amazon Echo app User audio is streamed to the service Audio responses are rendered on-device Text response and/or GUI card data is returned
  13. 13. Sample Interactions of ALEXA SKILLS One and done “Alexa, start Astrology and get the Pisces horoscope.” [Horoscope Provided] Conversation “Alexa, start Astrology” [“What’s your sign?”] “Pisces” [Horoscope Provided]
  14. 14. Demo Configuring a new Alexa Skill
  15. 15. Building an Alexa Skill HOSTED SERVICE • Adheres to ASK service interface • Uses HTTP over SSL/TLS on port 443 • Must be Internet-accessible • Presents a trusted certificate matching domain name – Can use self-signed certificate for development – Trusted certificate required for certification
  16. 16. Building an Alexa Skill HOSTED SERVICE • You define interactions for your Skill through Intent Schemas • Each intent consists of two fields. The intent field gives the name of the intent. The slots field lists the slots associated with that intent. • Slots can also included types such as LITERAL, NUMBER, DATE, etc.
  17. 17. Building an Alexa Skill HOSTED SERVICE • The mappings between intents and the typical utterances that invoke those intents are provided in a tab-separated text document of sample utterances. • Each possible phrase is assigned to one of the defined intents. • GetHoroscope what is the horoscope for {pisces|Sign} • GetHoroscope what will the horoscope for {leo|Sign} be {next tuesday|Date}
  18. 18. The Amazon Alexa Service WILL POST EVENTS LaunchRequest Maps to onLaunch() and occurs when the user launches the Skill without specifying what they want IntentRequest Maps to onIntent() and occurs when when the user specifies an intent SessionEndedRequest Maps to OnSessionEnded() and when the user ends the session
  19. 19. Handling Amazon Alexa Service REQUESTS • You will need to handle POST requests to your service over port 443 and parse the JSON • You need to check the session variable to see if the user started a new session or if request is from existing one • Requests always Include a type, requestId and timestamp • requestId maps directly to LaunchRequest, IntentRequest and SessionEndedRequest
  20. 20. Demo My Colors Alexa Skill – JavaScript and Node JS
  21. 21. Alexa Skills CERTIFICATION PROCESS • Skills ready for public use can be submitted for certification • At developer.amazon.com/apps • Skills will be available for customers to enable via Amazon Echo App (later this year)
  22. 22. 29 http://developer.amazon.com/ask http://developer.amazon.com/blog

×