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.

Create Alexa Skills using IBM Watson Conversation and Apache OpenWhisk

695 views

Published on

Create Alexa Skills using IBM Watson Conversation and Apache OpenWhisk

http://heidloff.net
https://twitter.com/nheidloff

https://github.com/IBM/alexa-skill-watson-conversation
https://developer.ibm.com/code/patterns

https://www.ibm.com/cloud
https://www.ibm.com/watson/services/conversation
https://www.ibm.com/cloud/functions

https://developer.amazon.com/edw/home.html#/skills
https://alexa.amazon.de
https://echosim.io/welcome

Published in: Software
  • Be the first to comment

  • Be the first to like this

Create Alexa Skills using IBM Watson Conversation and Apache OpenWhisk

  1. 1. Create Alexa Skills using IBM Watson Conversation and Apache OpenWhisk Niklas Heidloff Developer Advocate, IBM @nheidloff heidloff.net January 2018
  2. 2. Alexa, start Watson How is the weather? Berlin Hello. How can I help you? Please tell me your location. Okay. I'll lookup the weather for Berlin... Looking up weather information for Berlin... Light rain developing in the afternoon. Highs in the upper 30s with temperatures nearly steady overnight. Demo @nheidloff
  3. 3. Demo Alexa Simulator @nheidloff
  4. 4. Demo Alexa Application @nheidloff
  5. 5. Motivation of the PatternMotivation •  Use Alexa to test conversations defined with Watson •  Learn Apache OpenWhisk and Watson Conversation capabilities •  Use Watson Conversation for rapid prototyping of conversations for Alexa skills @nheidloff
  6. 6. Architecture Architecture @nheidloff
  7. 7. AmazonDeveloperConsole Skill Deployment – Invocation Phrase @nheidloff
  8. 8. AmazonDeveloperConsole Skill Deployment – Intents and Slots @nheidloff
  9. 9. AmazonDeveloperConsole Skill Deployment – OpenWhisk URL @nheidloff OpenWhisk URL: https://openwhisk.ng.bluemix.net/api/v1/web/niklas_heidloff%40de.ibm.com_demo/default/alexa-watson.json
  10. 10. AmazonDeveloperConsole Skill Deployment – SSL Settings @nheidloff
  11. 11. AmazonDeveloperConsole Simulator @nheidloff
  12. 12. AmazonDeveloperConsole Simulator @nheidloff
  13. 13. AmazonDeveloperConsole Simulator @nheidloff
  14. 14. WatsonConversation Intents @nheidloff
  15. 15. WatsonConversation Weather Intent @nheidloff
  16. 16. WatsonConversation Entities @nheidloff
  17. 17. WatsonConversation Location Entity @nheidloff
  18. 18. WatsonConversation Dialog – Greetings Node @nheidloff
  19. 19. WatsonConversation Dialog – Weather Node @nheidloff
  20. 20. IBMCloudFunctions OpenWhisk Function Parameters @nheidloff
  21. 21. IBMCloudFunctions OpenWhisk Function Web URL @nheidloff Web URL: https://openwhisk.ng.bluemix.net/api/v1/web/niklas_heidloff%40de.ibm.com_demo/default/alexa-watson.json
  22. 22. OpenWhiskFunction OpenWhisk Function – Main @nheidloff
  23. 23. OpenWhiskFunction OpenWhisk Function – Initialize Clients @nheidloff
  24. 24. OpenWhiskFunction OpenWhisk Function – Handle Session Context @nheidloff
  25. 25. OpenWhiskFunction OpenWhisk Function – Send Message to Watson @nheidloff
  26. 26. OpenWhiskFunction OpenWhisk Function – Handle Action @nheidloff
  27. 27. OpenWhiskFunction OpenWhisk Function – Send Response to User @nheidloff
  28. 28. ResourcesResources •  https://github.com/IBM/alexa-skill-watson-conversation •  https://developer.ibm.com/code/patterns •  https://www.ibm.com/cloud •  https://www.ibm.com/watson/services/conversation •  https://www.ibm.com/cloud/functions •  https://developer.amazon.com/edw/home.html#/skills •  https://alexa.amazon.de •  https://echosim.io/welcome @nheidloff

×