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

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.

主站蜘蛛池模板: 石城县| 田阳县| 南涧| 肇州县| 偃师市| 宝兴县| 武威市| 弥渡县| 临夏市| 昌江| 民丰县| 微博| 鄂温| 吕梁市| 金沙县| 通城县| 庄河市| 保德县| 朔州市| 新绛县| 嘉兴市| 宜春市| 大英县| 绵竹市| 灌阳县| 榆树市| 章丘市| 宣汉县| 双流县| 巫溪县| 乾安县| 项城市| 海晏县| 辽阳市| 洪泽县| 蕲春县| 河北省| 漳州市| 宣恩县| 威信县| 巴彦淖尔市|