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

Alexa-Midwest

 Alexa-Midwest

The future we saw in Star Trek is happening now! Instead of having to actually touch your technology, you can now use your voice to bend it to your will. In this talk, we’ll go from an idea for an Alexa skill to a fully functioning voice-based assistant for a hobby that involves a surprising amount of calculations: brewing beer. No brain cells will be harmed during this talk (meaning no alcohol), but you may accidentally learn how it’s brewed as we build a skill to aid in it.

3d55a954b25a01f3f895eb20f7c48714?s=128

Omni Adams

April 03, 2020
Tweet

Transcript

  1. Alexa, Ask Me About PHP! Omni Adams - When I

    Work - Midwest PHP 2020
  2. What is Alexa?

  3. None
  4. None
  5. None
  6. None
  7. None
  8. None
  9. None
  10. None
  11. None
  12. None
  13. None
  14. None
  15. None
  16. None
  17. None
  18. None
  19. if ($extractType == ‘LME') { $extract = 38; } elseif

    ($extractType == ‘DME') { $extract = 45; } elseif (is_numeric($extractType)) { $extract = $extractType; } if (is_numeric($target_gu) && is_numeric($total_gu) && is_numeric($extract)) { return ($target_gu - $total_gu) / $extract; } else { return null; }
  20. None
  21. https://developer.amazon.com/

  22. None
  23. None
  24. None
  25. None
  26. None
  27. None
  28. None
  29. None
  30. None
  31. None
  32. None
  33. None
  34. None
  35. None
  36. None
  37. None
  38. None
  39. None
  40. Alexa, ask brew calc how much DME to go from

    ten sixty to ten ninety
  41. Alexa, askbrew calc how much DME to go from ten

    sixt
  42. xa, ask brew calchow much DME to go from ten

    sixty to ten nin
  43. lc how much DME to go from ten sixty to

    ten ninety
  44. function extractAddition($expected, $actual, $extractType)

  45. lc how much DME to go from ten sixty to

    ten ninety
  46. None
  47. None
  48. None
  49. None
  50. None
  51. None
  52. None
  53. None
  54. None
  55. None
  56. None
  57. None
  58. • LaunchRequest • CanFulfillIntentRequest • SessionEndedRequest • IntentRequest

  59. None
  60. None
  61. None
  62. None
  63. None
  64. None
  65. None
  66. None
  67. None
  68. https://speakerdeck.com/omnicolor/alexa-midwest https://github.com/omnicolor/automation https://twitter.com/omnicolor Omni Adams omni@digitaldarkness.com