{"id":73,"date":"2020-10-05T11:20:24","date_gmt":"2020-10-05T11:20:24","guid":{"rendered":"https:\/\/thenextweb.com\/?p=1321603"},"modified":"2020-10-05T11:20:24","modified_gmt":"2020-10-05T11:20:24","slug":"alexa-teach-me-how-to-teach-you","status":"publish","type":"post","link":"https:\/\/www.londonchiropracter.com\/?p=73","title":{"rendered":"Alexa, teach me how to teach you"},"content":{"rendered":"\n<p>Alexa, amazon\u2019s voice-based virtual assistance like Siri for the iPhone, and Cortana for Microsoft Windows, is&nbsp;a cloud-based service. When first introduced, it was in the form of \u2018Amazon Echo.\u2019 Fast forward and this voice assistant&nbsp;is now part of multiple devices including: music devices, robots, mobile phones, vacuum cleaners, among other things. Its skills are voice-driven&nbsp;and the interface between users and Alexa is called \u2018Skills.\u2019<\/p>\n<h2 id=\"creating-alexa-skills\">Creating Alexa skills<\/h2>\n<p>Alexa skills are built by two different components:<\/p>\n<ul>\n<li>The voice controls or actions<\/li>\n<li>The functionality<\/li>\n<\/ul>\n<p>In this article we\u2019ll evaluate how to set up both, starting with the functionality.<\/p>\n<p>The functionality is simply some code that will be executed when Alexa is tasked with our custom actions (or skill). This code for our purposes will run on AWS Lambda, a service matching perfectly with Alexa, it\u2019s cost-efficient and super easy to set up.<\/p>\n<p>Here are all the steps we need to take into account when building an&nbsp;Alexa skill:<\/p>\n<ol>\n<li>Set Up AWS (Amazon Web Services) Lambda<\/li>\n<li>Create a free Alexa Developer Account<\/li>\n<li>Create a sample of Alexa Skill<\/li>\n<li>Test the newly created Alexa skill<\/li>\n<\/ol>\n<p>So let\u2019s start with the first step:<\/p>\n<h2 id=\"set-up-aws-amazon-web-services-lambda\">Setting up an AWS (Amazon Web Services) Lambda<\/h2>\n<ol>\n<li>Go to the Amazon Web Services management console&nbsp;and <a href=\"https:\/\/aws.amazon.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">create a new account<\/a> if you don\u2019t have one already. Click on the \u201cComplete Sign Up\u201d button.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321609 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.37.42-AM.png\" alt width=\"784\" height=\"332\" sizes=\"(max-width: 784px) 100vw, 784px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.37.42-AM.png 784w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.37.42-AM-280x119.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.37.42-AM-540x229.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.37.42-AM-270x114.png 270w\"><\/figure>\n<\/p>\n<ol start=\"2\">\n<li>After adding the appropriate data in all the required fields, login to the AWS management console. Keep in mind that AWS is a paid service, though they offer a trial period of 1 year with certain limitations, but it\u2019s more than enough for what we want to do.<\/li>\n<li>After the successful login, the AWS management console dashboard will be displayed to you.<\/li>\n<li>Different web based services are available of AWS portal. From the find services list, search for the \u201cLambda\u201d service. Select the \u201cLambda\u201d service.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321610 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.38.14-AM.png\" alt width=\"706\" height=\"487\" sizes=\"(max-width: 706px) 100vw, 706px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.38.14-AM.png 706w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.38.14-AM-280x193.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.38.14-AM-391x270.png 391w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.38.14-AM-196x135.png 196w\"><\/figure>\n<\/p>\n<ol start=\"5\">\n<li>Lambda service only works in the US East (N. Virginia), EU (Ireland), US West (Oregon), and Asia Pacific (Tokyo). Make sure to choose one of the given regions before creating the Lambda service.<\/li>\n<li>After choosing the \u201cLambda\u201d service you will be redirected to the Functions screen. Choose the \u201cCreate function\u201d option.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321611 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.38.48-AM.png\" alt width=\"708\" height=\"176\" sizes=\"(max-width: 708px) 100vw, 708px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.38.48-AM.png 708w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.38.48-AM-280x70.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.38.48-AM-540x134.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.38.48-AM-270x67.png 270w\"><\/figure>\n<\/p>\n<ol start=\"7\">\n<li>Click on the \u201cUse a blueprint\u201d option and search for the \u201cAlexa-skills-kit-color-expert-python\u201d.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321612 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.08-AM.png\" alt width=\"709\" height=\"235\" sizes=\"(max-width: 709px) 100vw, 709px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.08-AM.png 709w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.08-AM-280x93.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.08-AM-540x179.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.08-AM-270x89.png 270w\"><\/figure>\n<\/p>\n<p>It\u2019s worth noting we\u2019ll use a blueprint for sample, a blueprint is an already developed sample which can be easily added to your AWS lambda account. If you want to build your own skills, you can either program the lambda yourself, or use the blueprint and update it to your needs.<\/p>\n<p>There are blueprints for Python, NodeJS and other programming languages, in our case we will use one based off&nbsp;Python, though we will ignore the code for this tutorial and focus more on the Alexa side of things.<\/p>\n<ol start=\"8\">\n<li>If the results are not displayed under the \u201cUse a blueprint\u201d section, then select the third option \u201cBrowse serverless app repository\u201d and search for the \u201cAlexa-skills-kit-color-expert-python.\u201d<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321613 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.23-AM.png\" alt width=\"708\" height=\"331\" sizes=\"(max-width: 708px) 100vw, 708px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.23-AM.png 708w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.23-AM-280x131.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.23-AM-540x252.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.23-AM-270x126.png 270w\"><\/figure>\n<\/p>\n<ol start=\"9\">\n<li>Now enter the \u201cTopicNameParameter\u201d and click on the \u201cDeploy\u201d button.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321614 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.40-AM.png\" alt width=\"714\" height=\"317\" sizes=\"(max-width: 714px) 100vw, 714px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.40-AM.png 714w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.40-AM-280x124.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.40-AM-540x240.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.40-AM-270x120.png 270w\"><\/figure>\n<\/p>\n<ol start=\"10\">\n<li>Now click on the \u201cLogical ID\u201d text.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321615 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.55-AM.png\" alt width=\"714\" height=\"226\" sizes=\"(max-width: 714px) 100vw, 714px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.55-AM.png 714w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.55-AM-280x89.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.55-AM-540x171.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.39.55-AM-270x85.png 270w\"><\/figure>\n<\/p>\n<ol start=\"11\">\n<li>The function code will be displayed to you. Copy the \u201cARN\u201d code displayed to you on the \u201ctop right corner\u201d.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321616 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.40.32-AM.png\" alt width=\"720\" height=\"141\" sizes=\"(max-width: 720px) 100vw, 720px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.40.32-AM.png 720w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.40.32-AM-280x55.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.40.32-AM-540x106.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.40.32-AM-270x53.png 270w\"><\/figure>\n<\/p>\n<h2>Creating your free Alexa Developer Account<\/h2>\n<p>Now we have to <a href=\"https:\/\/developer.amazon.com\/dashboard\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">create an Alexa Developer Account<\/a>. Go to the Amazon developer portal and create an account if you don\u2019t have an account already. While creating the new account, add the appropriate data in all required fields.<\/p>\n<p>Just sign in to the Amazon developer portal if you have signed up already.<\/p>\n<h2 id=\"create-a-sample-of-alexa-skill\">Create a sample of Alexa Skill<\/h2>\n<p>Here is where we build the actual Alexa interface, that is how we\u2019re going to talk to Alexa to solve our problems and communicate with our Lambda function.<\/p>\n<p>Follow all these steps carefully:<\/p>\n<ol>\n<li>Now choose the \u201cAlexa\u201d option from the dashboard and select \u201cAlexa Skills Kit.\u201d You will be redirected to the \u201cAlexa developer console.\u201d<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321619 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.51.39-AM.png\" alt width=\"730\" height=\"273\" sizes=\"(max-width: 730px) 100vw, 730px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.51.39-AM.png 730w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.51.39-AM-280x105.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.51.39-AM-540x202.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.51.39-AM-270x101.png 270w\"><\/figure>\n<\/p>\n<ol start=\"2\">\n<li>Click on the \u201cCreate Skill\u201d button.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321620 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.51.56-AM.png\" alt width=\"733\" height=\"351\" sizes=\"(max-width: 733px) 100vw, 733px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.51.56-AM.png 733w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.51.56-AM-280x134.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.51.56-AM-540x259.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.51.56-AM-270x129.png 270w\"><\/figure>\n<\/p>\n<ol start=\"3\">\n<li>Enter the skill name, choose the language, and click on the \u201cCreate Skill\u201d option.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321621 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.08-AM.png\" alt width=\"737\" height=\"227\" sizes=\"(max-width: 737px) 100vw, 737px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.08-AM.png 737w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.08-AM-280x86.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.08-AM-540x166.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.08-AM-270x83.png 270w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.08-AM-736x227.png 736w\"><\/figure>\n<\/p>\n<p>The skill name can be anything you want, keep it meaningful to what you are trying to achieve. But don\u2019t confuse the name with the phrase you will use to invoke Alexa to perform the task. The name is only for your reference.<\/p>\n<ol start=\"4\">\n<li>Enter the skill invocation name. This is what you will have to say to Alexa when communicating with your skill.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321622 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.27-AM.png\" alt width=\"740\" height=\"198\" sizes=\"(max-width: 740px) 100vw, 740px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.27-AM.png 740w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.27-AM-280x75.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.27-AM-540x144.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.27-AM-270x72.png 270w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.27-AM-736x198.png 736w\"><\/figure>\n<\/p>\n<ol start=\"5\">\n<li>On the Alexa skill dashboard, you will the list of your created skills. Click on \u201cMyBookSkill.\u201d<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321623 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.42-AM.png\" alt width=\"726\" height=\"316\" sizes=\"(max-width: 726px) 100vw, 726px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.42-AM.png 726w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.42-AM-280x122.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.42-AM-540x235.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.42-AM-270x118.png 270w\"><\/figure>\n<\/p>\n<ol start=\"6\">\n<li>Take a look at the sample intents to understand how you can create your own intents.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321624 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.56-AM.png\" alt width=\"725\" height=\"329\" sizes=\"(max-width: 725px) 100vw, 725px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.56-AM.png 725w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.56-AM-280x127.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.56-AM-540x245.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.52.56-AM-270x123.png 270w\"><\/figure>\n<\/p>\n<p>With the invocation name you told Alexa to \u201ctalk\u201d to your program, now intents, will tell your program exactly what procedure to execute. They can be anything your program can perform, like \u201cfind a book\u201d, or \u201cread <em><span>Live<\/span>&nbsp;Code Stream<\/em>.\u201d<\/p>\n<ol start=\"7\">\n<li>For creating your own intent, click on the \u201cAdd Intent \u201d button.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321625 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.12-AM.png\" alt width=\"731\" height=\"275\" sizes=\"(max-width: 731px) 100vw, 731px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.12-AM.png 731w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.12-AM-280x105.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.12-AM-540x203.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.12-AM-270x102.png 270w\"><\/figure>\n<\/p>\n<ol start=\"8\">\n<li>Enter the name of intent and then enter the utterances.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321626 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.27-AM.png\" alt width=\"737\" height=\"331\" sizes=\"(max-width: 737px) 100vw, 737px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.27-AM.png 737w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.27-AM-280x126.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.27-AM-540x243.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.27-AM-270x121.png 270w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.27-AM-736x331.png 736w\"><\/figure>\n<\/p>\n<ol start=\"9\">\n<li>Now choose the slots type from the left menu and click on \u201cAdd slot type.\u201d<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321627 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.42-AM.png\" alt width=\"728\" height=\"261\" sizes=\"(max-width: 728px) 100vw, 728px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.42-AM.png 728w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.42-AM-280x100.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.42-AM-540x194.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.53.42-AM-270x97.png 270w\"><\/figure>\n<\/p>\n<p>Slots allow you to create lists of possible values, IDs and synonyms.&nbsp;Often times they\u2019re generated by code, but for now we\u2019ll set them up manually.<\/p>\n<ol start=\"10\">\n<li>Enter the name of the slot type. I have entered here \u201cBOOK_TYPE\u201d, and after that enter the values.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321628 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.03-AM.png\" alt width=\"737\" height=\"440\" sizes=\"(max-width: 737px) 100vw, 737px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.03-AM.png 737w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.03-AM-280x167.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.03-AM-452x270.png 452w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.03-AM-226x135.png 226w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.03-AM-736x440.png 736w\"><\/figure>\n<\/p>\n<ol start=\"11\">\n<li>Enter all the values and then click on the \u201cBuild model.\u201d<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321629 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.39-AM.png\" alt width=\"726\" height=\"237\" sizes=\"(max-width: 726px) 100vw, 726px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.39-AM.png 726w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.39-AM-280x91.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.39-AM-540x176.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.39-AM-270x88.png 270w\"><\/figure>\n<\/p>\n<ol start=\"11\">\n<li>Now click on the endpoint section from the left menu and enter the Lamba ARN value.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321630 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.49-AM.png\" alt width=\"737\" height=\"348\" sizes=\"(max-width: 737px) 100vw, 737px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.49-AM.png 737w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.49-AM-280x132.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.49-AM-540x255.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.49-AM-270x127.png 270w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.54.49-AM-736x348.png 736w\"><\/figure>\n<\/p>\n<ol start=\"13\">\n<li>After entering the ARN value, click on the \u201cSave endpoints\u201d option.<\/li>\n<\/ol>\n<p><figure class=\"post-image post-mediaBleed alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1321631 lazy\" src=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.55.07-AM.png\" alt width=\"741\" height=\"251\" sizes=\"(max-width: 741px) 100vw, 741px\" data-lazy=\"true\" data-srcset=\"https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.55.07-AM.png 741w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.55.07-AM-280x95.png 280w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.55.07-AM-540x183.png 540w, https:\/\/cdn0.tnwcdn.com\/wp-content\/blogs.dir\/1\/files\/2020\/10\/Screen-Shot-2020-10-05-at-11.55.07-AM-270x91.png 270w\"><\/figure>\n<\/p>\n<p>Alexa skill is now successfully created.<\/p>\n<h2 id=\"test-the-newly-created-alexa-skill\">Test the newly created Alexa skill<\/h2>\n<p>After the implementation of the Alexa skill, we have to test it. The testing verifies the either we\u2019re achieving our desired results or not?<\/p>\n<p>We can test the Alexa skill in many ways:<\/p>\n<ul>\n<li>We can deploy the Alexa skill on Amazon devices i.e. Amazon Echo Dot, Amazon Echo, or on any other device which supports the deployment of Alexa.<\/li>\n<li>We can test the Alexa skill by using the simulator. Just say the skill invocation name that you have written while creating the Alexa skill.<\/li>\n<\/ul>\n<p>This is the fun part, so enjoy it.<\/p>\n<p>Alexa, and voice assistants in general are here to stay, and the success of your product or services may be limited by the integration that these systems will present in the future.<\/p>\n<p>So grab yourself some time and take a look into the endless possibilities these assistants give to users and developers alike.<\/p>\n<hr>\n<p><i><span>This <\/span><\/i><a href=\"https:\/\/livecodestream.dev\/post\/2020-10-03-alexa-teach-me-how-to-teach-you\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><i><span>article<\/span><\/i><\/a><i><span> was originally published on <\/span><\/i><a href=\"https:\/\/livecodestream.dev\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><i><span>Live Code Stream<\/span><\/i><\/a><i><span> by <\/span><\/i><a href=\"https:\/\/www.linkedin.com\/in\/bajcmartinez\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><i><span>Juan Cruz Martinez<\/span><\/i><\/a><i><span> (twitter: <\/span><\/i><a href=\"https:\/\/twitter.com\/bajcmartinez\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><i><span>@bajcmartinez<\/span><\/i><\/a><i><span>), founder and publisher of Live Code Stream, entrepreneur, developer, author, speaker, and doer of things.<\/span><\/i><\/p>\n<p><a href=\"https:\/\/livecodestream.dev\/subscribe\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><i><span>Live Code Stream<\/span><\/i><\/a><i><span> is also available as a free weekly newsletter. Sign up for updates on everything related to programming, AI, and computer science in general.<\/span><\/i><\/p>\n<p> <a href=\"https:\/\/thenextweb.com\/syndication\/2020\/10\/05\/alexa-teach-me-how-to-teach-you\/\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Alexa, amazon\u2019s voice-based virtual assistance like Siri for the iPhone, and Cortana for Microsoft Windows, is&nbsp;a cloud-based service. When first introduced, it was in the form of \u2018Amazon Echo.\u2019 Fast forward and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":74,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.londonchiropracter.com\/index.php?rest_route=\/wp\/v2\/posts\/73"}],"collection":[{"href":"https:\/\/www.londonchiropracter.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.londonchiropracter.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.londonchiropracter.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.londonchiropracter.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=73"}],"version-history":[{"count":0,"href":"https:\/\/www.londonchiropracter.com\/index.php?rest_route=\/wp\/v2\/posts\/73\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.londonchiropracter.com\/index.php?rest_route=\/wp\/v2\/media\/74"}],"wp:attachment":[{"href":"https:\/\/www.londonchiropracter.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=73"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.londonchiropracter.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=73"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.londonchiropracter.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}