Publicité
Publicité

Contenu connexe

Similaire à MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang(20)

Publicité

Plus de MongoDB(20)

Publicité

MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang

  1. #MDBlocal Ride B Developing Alexa Skills with MongoDB & Golang SANFRANCISCO
  2. #MDBlocal Ken W. Alger Developer Advocate at MongoDB SANFRANCISCO
  3. #MDBLocal Amazon Web Services (AWS) is not a requirement, it is a convenience. Something to Note
  4. #MDBLocal $200.00 in MongoDB Atlas credits with ALGER200 Something to Note
  5. The Alexa Virtual Assistant Hardware, Skills, and the Flow of Events
  6. #MDBLocal Amazon Alexa Powered Devices
  7. #MDBLocal Amazon Alexa Powered Devices
  8. #MDBLocal What is an Alexa Skill?
  9. #MDBLocal Alexa, ask Nest to set the thermostat to 75 degrees Alexa, ask Uber to request a ride Alexa, ask WebMD for the side effects of Tylenol Using Alexa Skills
  10. #MDBLocal Alexa performs a speech to text analysis Alexa recognizes the invocation word ○ Ex: Uber, Nest, WebMD, etc. Alexa associates the spoken command to an Intent The Intent information with optional parameters are sent to the API Alexa in Action
  11. FaaS with AWS Lambda Functions as a Service with Go on AWS Lambda
  12. #MDBLocal The AWS Lambda SDK for Go
  13. #MDBLocal “Hello World” with AWS Lambda SDK and Go
  14. #MDBLocal AWS Lambda Dashboard
  15. #MDBLocal Cross-Compiling Go Applications for Lambda
  16. MongoDB with AWS Lambda MongoDB with Go on AWS Lambda
  17. #MDBLocal The MongoDB Go Driver
  18. #MDBLocal Connecting to MongoDB with Go
  19. #MDBLocal Sharing a Connection to MongoDB
  20. #MDBLocal Using an Available MongoDB Connection
  21. The Alexa Developer Portal Skill Configuration, Testing, and Publishing
  22. #MDBLocal Alexa Developer Dashboard
  23. #MDBLocal Not the same as the Skill name. Used to initiate Skill on an Alexa powered device. ○ Alexa, ask INVOCATION_NAME… Should be real words that can be easily pronounced. Should be unique to prevent Skill overlap. Alexa Invocation Name
  24. #MDBLocal An Alexa Skill has numerous Intents. Intents are individual Skill commands or actions. ○ Ex: Get the current temperature. ○ Ex: Get the weekly forecast. Utterances are phrases to activate an Intent. The more utterances for an Intent, the less likely to be misunderstood. Alexa has reserved Intents for specific functionality. ○ Ex: Asking for help using the Skill Alexa Intents and Sample Utterances
  25. #MDBLocal Sample Utterances for “AboutIntent”
  26. #MDBLocal Sample Utterances with Slot Variables
  27. Requests and Responses Formatting Data Between Alexa and Lambda
  28. #MDBLocal Alexa Request Payloads
  29. #MDBLocal Lambda to Alexa Response Payloads
  30. #MDBLocal The Unofficial Alexa SDK for Go
  31. Processing Alexa Intents Responding to Alexa Requests in Go
  32. #MDBLocal “Hello World” with Alexa and Go
  33. #MDBLocal “Hello Human” with Alexa and Go
  34. #MDBLocal Alexa Request Payloads
  35. #MDBLocal Dispatching Alexa Requests
  36. #MDBLocal HelpIntent StopIntent CancelIntent FallbackIntent Reserved Alexa Intents
  37. #MDBLocal Reserved Alexa Intents
  38. MongoDB in an Alexa Skill Alexa with MongoDB through Example
  39. #MDBLocal Cooking with MongoDB
  40. #MDBLocal Connecting to MongoDB with Go
  41. #MDBLocal Sharing a Connection to MongoDB
  42. #MDBLocal Dispatching Intents
  43. #MDBLocal The MongoDB Recipe Schema
  44. #MDBLocal The MongoDB Recipe Schema
  45. #MDBLocal Alexa Request Payloads
  46. #MDBLocal The `GetIngredientsForRecipeIntent` Logic
  47. #MDBLocal The `GetIngredientsForRecipeIntent` Response
  48. #MDBLocal The `GetRecipeFromIngredientsIntent` Logic
  49. DEMO Queue the Demo!
  50. #MDBLocal https://github.com/mongodb-developer/alexa-golang-example MongoDB Alexa Skill on GitHub
  51. #MDBLocal Including MongoDB is simple with the Go driver. Amazon Web Services (AWS) is not a requirement, it is a convenience. Invocation names should be real words that are pronounceable with most accents. Sample utterances should exist for all possible requests. Functions should finish executing quickly. Summary
  52. #MDBLocal $200.00 in MongoDB Atlas credits with ALGER200 MongoDB Atlas
  53. #MDBLocal Alexa - developer.amazon.com/alexa Lambda - aws.amazon.com/lambda MongoDB Go Driver - https://docs.mongodb.com/ecosystem/drivers/go/ Twitter - @kenwalger Getting Help
  54. THANK YOU
Publicité