{"id":231,"date":"2018-01-04T17:58:22","date_gmt":"2018-01-04T17:58:22","guid":{"rendered":"https:\/\/www.morsello.com\/?p=231"},"modified":"2018-01-04T17:58:22","modified_gmt":"2018-01-04T17:58:22","slug":"my-first-alexa-skill-ai-isnt-taking-over-the-world-yet","status":"publish","type":"post","link":"https:\/\/www.morsello.com\/index.php\/2018\/01\/04\/my-first-alexa-skill-ai-isnt-taking-over-the-world-yet\/","title":{"rendered":"My First Alexa Skill: AI Isn&#8217;t Taking Over the World Yet"},"content":{"rendered":"<p>Tony Stark inspired me. \u00a0Why exercise my fingers all day long when I could just ask my Amazon Echo for information or to do something? \u00a0Well&#8230;<\/p>\n<p>AWS boldly claims you can &#8220;Develop an Alexa Skill in under 5 minutes&#8221;&#8221;\u00a0<a href=\"https:\/\/developer.amazon.com\/alexa-skills-kit\/alexa-skill-quick-start-tutorial\">https:\/\/developer.amazon.com\/alexa-skills-kit\/alexa-skill-quick-start-tutorial<\/a>.<\/p>\n<p>I gave it a go, and was able to get the Alexa equivalent of &#8220;Hello World&#8221; running in, say, 15 minutes. \u00a0If you were racing, didn&#8217;t care to understand why anything worked, and didn&#8217;t want to make any changes to the sample application, 5 minutes isn&#8217;t really an unreasonable claim. \u00a0Playing with it for an hour gave me a decent understanding of what Alexa can and probably can&#8217;t do. \u00a0But being able to interact with a device already on my desk which I&#8217;ve never directly programmed in just a few minutes is actually pretty cool.<\/p>\n<p>However, reports of the coming AI apocalypse have been greatly overstated.<\/p>\n<p>The Alexa service certainly has cool voice recognition. \u00a0Ambient room sounds are sorted from human voices. \u00a0phonemes are identified and rolled up into words. Words are filtered based on context&#8211;maybe&#8211; and sentences built. \u00a0Alexa can then identify keywords to figure out to which service to route the request. \u00a0All cool.<\/p>\n<p>That&#8217;s about as far as the smarts go, however. \u00a0The developer of a &#8220;skill&#8221; gets exactly 0 help in interpreting the semantics of English sentences&#8211; and yes, Alexa understands only English. \u00a0The skill developer has to specify the exact words the user might speak to your program. \u00a0EVERY. SINGLE. WORD. \u00a0There are no smarts whatsoever. \u00a0Moreover, your skill isn&#8217;t passed any context about how the parsing of phonemes went. \u00a0If Alexa (without any context) decided the user said &#8220;Plato&#8221; instead of &#8220;Play-Doh&#8221;, your skill will either fail to understand, or you&#8217;ll have to guess ahead of time what Alexa might have misunderstood.<\/p>\n<p>Not smart yet.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tony Stark inspired me. \u00a0Why exercise my fingers all day long when I could just ask my Amazon Echo for information or to do something? \u00a0Well&#8230; AWS boldly claims you can &#8220;Develop an Alexa Skill in under 5 minutes&#8221;&#8221;\u00a0https:\/\/developer.amazon.com\/alexa-skills-kit\/alexa-skill-quick-start-tutorial. I gave it a go, and was able to get the Alexa equivalent of &#8220;Hello World&#8221;&hellip;<\/p>\n<p><a class=\"more-link\" href=\"https:\/\/www.morsello.com\/index.php\/2018\/01\/04\/my-first-alexa-skill-ai-isnt-taking-over-the-world-yet\/\" title=\"Continue reading &lsquo;My First Alexa Skill: AI Isn&#8217;t Taking Over the World Yet&rsquo;\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.morsello.com\/index.php\/wp-json\/wp\/v2\/posts\/231"}],"collection":[{"href":"https:\/\/www.morsello.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.morsello.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.morsello.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.morsello.com\/index.php\/wp-json\/wp\/v2\/comments?post=231"}],"version-history":[{"count":1,"href":"https:\/\/www.morsello.com\/index.php\/wp-json\/wp\/v2\/posts\/231\/revisions"}],"predecessor-version":[{"id":232,"href":"https:\/\/www.morsello.com\/index.php\/wp-json\/wp\/v2\/posts\/231\/revisions\/232"}],"wp:attachment":[{"href":"https:\/\/www.morsello.com\/index.php\/wp-json\/wp\/v2\/media?parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.morsello.com\/index.php\/wp-json\/wp\/v2\/categories?post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.morsello.com\/index.php\/wp-json\/wp\/v2\/tags?post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}