using_alexa_skills_kit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
using_alexa_skills_kit [2016/12/30 10:34] – tbrodeur | using_alexa_skills_kit [2017/05/30 16:42] (current) – tbrodeur | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <fc # | + | <fc # |
<color # | <color # | ||
Line 131: | Line 131: | ||
-Note also that we don’t need to provide sample utterances for the stop, cancel, and help intents. Alexa understands appropriate phrases to invoke each of these out of the box. | -Note also that we don’t need to provide sample utterances for the stop, cancel, and help intents. Alexa understands appropriate phrases to invoke each of these out of the box. | ||
+ | |||
+ | -Once the interaction model is complete, click next and continue on to the configuration tab to link your skill with your function. | ||
+ | |||
+ | <color # | ||
+ | </ | ||
+ | |||
+ | <fs large> | ||
+ | |||
+ | |||
+ | {{: | ||
+ | |||
+ | -If you are running your code with AWS Lambda, choose AWS Lambda ARN, else choose HTTPS. | ||
+ | |||
+ | <fc # | ||
+ | |||
+ | -Depending on the region you are in, choose either North America or Europe and insert your Amazon Resource Code (ARN) listed in the top right corner of your lambda function in your AWS console. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | -Also make sure to change the application id in your lambda function that handles the event to the id code listed under your skill name: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | -Click " | ||
+ | |||
+ | <color # | ||
+ | </ | ||
+ | |||
+ | <fs large> | ||
+ | |||
+ | |||
+ | {{ youtube> | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | The Custom Skill can be tested using the Service Simulator within the Amazon Developer portal and without the need to use an Echo hardware device. We can type in sample sentences that the user might speak, view the JSON message that is sent to the Lambda function and its response JSON as well as listen to how the response would sound when played back on an Echo. | ||
+ | |||
+ | Here we can see that Alexa determined that this request related to the “Hello” intent (because we used a phrase from our sample utterances that are associated with that intent). | ||
+ | |||
+ | The Lambda function read “Hello” as the intent and called the say_hello Python function that we wrote. | ||
+ | |||
+ | If an Echo device is associated with our Amazon developer account, we can go ahead and directly test this with that device. If not, we can hear what the response would sound like simply by pressing the “Listen” button in the Service Simulator. | ||
+ | |||
+ | <color # | ||
+ | </ | ||
+ | |||
+ | <fs large> | ||
+ | |||
+ | -If you are following the "Hello World" tutorial, you are now finished. | ||
+ | |||
+ | -Using this base knowledge, go on to create custom skills such as a [[echo_stock_price|stock price skill]]. | ||
+ | |||
+ | |||
+ |
using_alexa_skills_kit.1483122890.txt.gz · Last modified: by tbrodeur