官术网_书友最值得收藏!

Testing your skills

Now that we've built and deployed our new Alexa Skill, we need to test it out and see whether it works. At the top of the page, there are four tabs: Build, Test, Launch, and Measure. We've finished with Build, so we can click on Test. Click the toggle at the top of the page to enable testing for this skill:

Test screen

To interact with your new skill, you can either type your messages or click and hold the microphone button and talk to your computer like you would with Alexa. To test your skill by talking to it, you will need a microphone on your laptop or PC, and have allowed the web page to access that microphone. As soon as you hit Enter or let go of the microphone button, you'll see Alexa loading and then she'll reply with your intent and add the message to the chat window. As well as the response from Alexa, you also get information in the Skill I/O section of the screen. If the intent was successfully triggered, you'll get the full JSON Input that is sent to your Lambda as well as the response that it has given:

Working hello test

This is what you should get when you chat with your bot. Make sure that you are saying the correct utterances.

主站蜘蛛池模板: 大余县| 交城县| 甘德县| 阿图什市| 紫云| 左权县| 廊坊市| 克什克腾旗| 常熟市| 北川| 长沙市| 木里| 郸城县| 大渡口区| 萝北县| 曲阜市| 青海省| 镇坪县| 屯留县| 通许县| 安溪县| 黄石市| 元阳县| 景宁| 体育| 油尖旺区| 江西省| 京山县| 南澳县| 耒阳市| 重庆市| 册亨县| 南部县| 崇州市| 嘉善县| 莫力| 辛集市| 澄江县| 万盛区| 沂南县| 启东市|