我一直在尝试制作一个简单的测试机器人(只是一个意图,具有三个基于文本的不同响应),并将其与我的亚马逊回声挂钩,以进行概念验证演示。
I have been trying to make my simple test bot (it's just a single intent with three different text based responses) and hook it up to my amazon echo for a proof of concept demo.
我在集成的亚马逊方面遇到了麻烦。这是我的问题:
I am having trouble with the amazon side of the integration. Here are my questions:
我希望我的机器人对alexa所做的就是识别我的意思并通过简单的文本答案进行回复...
All I want my bot to do with alexa is to recognise what I say and reply with a simple text answer...
谢谢
推荐答案这是您需要做的。
在 Amazon开发者控制台,您可以在技能配置中启用测试,从而可以在技能发布之前对其进行测试。
After you have a skill property configured in the Amazon Developer Console you can 'enable testing' in the skill configuration to make it possible to test the skill before it's published.
这是我录制的一段视频,介绍了如何创建自定义Alexa技能。视频中的所有步骤都将适用于您要执行的操作,但除此之外,您还需要使用其中一个DialogFlow SDK调用DialogFlow API,您可以在 dialogflow/docs/sdks 。如果您决定将AWS Lambda用于您的技能服务终端节点,建议您将Node.JS和Node.JS SDK用于DialogFlow。
Here is a video I did that walks through creating a custom Alexa skill. All of the steps in the video would apply for what you're trying to do but in addition you'd need to call the DialogFlow API using one of the DialogFlow SDKs which you can find at dialogflow/docs/sdks. If you decide to use AWS Lambda for your skill service endpoint, I'd suggest using Node.JS and the Node.JS SDK for DialogFlow.
建议。如果您的目标是为Alexa创建简单技能,那么不使用DialogFlow就可以创建简单技能。如果您想要同时适用于Amazon Alexa和Google Home的技能,请查看 Jovo Framework 。
Suggestion. If you're goal is to create a simple skill for Alexa, it might be simpler to just create the skill without DialogFlow. If you want a skill that works both for Amazon Alexa and Google Home I'd check out the Jovo Framework.
另外,有关创建Alexa技能的更多视频,请访问 youtube/ dabblelab 或 learn.dabblelab
Also, for more videos on creating Alexa skills visit youtube/dabblelab or learn.dabblelab
我希望这会有所帮助!
更多推荐
Dialogflow / API.ai Amazon Echo集成:用于测试的简单纯文本机器人
发布评论