在Pepper上部署dialogflow聊天机器人?

时间:2018-05-30 08:34:24

标签: chatbot dialogflow pepper

是否有关于如何在Pepper机器人上部署Dialogflow聊天机器人的说明手册或指南?

6 个答案:

答案 0 :(得分:1)

您需要获取用户所说内容的文本(在qiChat u:(e:answer) $answer中)并将其转发给ALMemory事件。

然后在Python或C ++中订阅该事件并编写样板以将文本发送到Google API。

然后Dialogflow将回复文本,您必须通过提出ALMemory事件(示例Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences. Unable to open connection to: localhost/17.253.38.253:5037, due to: java.net.ConnectException: Operation timed out )将其发送回对话框

纳斯

答案 1 :(得分:1)

我已经将Pepper与Dialogflow集成在一起。我的blog描述了运行在Pepper外部以执行集成的代码。该博客没有详细介绍如何创建Dialogflow代理,但是包含执行集成的代码。

Pepper用户无法在Pepper上安装必要的软件包。它必须在计算机上运行并可以远程运行Pepper。

答案 2 :(得分:0)

不,两者不兼容。您必须自己编写代码。 Pepper不适用于除QiChat脚本之外的其他聊天系统。

答案 3 :(得分:0)

如果您在美国并且购买了Host解决方案(其中包含DialogFlow和MSBot的聊天机器人集成),您可以按照此处的文档进行操作:https://softbankroboticstraining.github.io/pepper-chatbot-api/

答案 4 :(得分:0)

我不确定你是否:(_ *)$ text = $ 1可以捕获用户的输入。如果它有效 - >见这里:https://qiita.com/egplnt/items/fe56b6c0169714bd871d 否则,你需要ALAudioRecorder - >语音识别 - > dialogflow

答案 5 :(得分:0)

我想知道没有主机解决方案是否可以将Dialogflow用于Pepper。