本文介绍了如何在机器人首次启动时实施欢迎活动 - NLP来自Google Dialogflow的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,

请帮助我"如何在机器人首次启动时实施欢迎活动 - NLP来自Google Dialogflow 。"

Kindly help me on this "How to implement a welcome activity when the bot first starts - NLP is from Google Dialogflow."

我设计了来自Google Dialogflow的chatbot -intent,entities和NLP,并且我已经在html文件中成功地与botframework网络聊天集成了引用网址:" https ://github.com/Microsoft/BotFramework-WebChat/tree/master/samples/15.d.backchannel-send-welcome-event"。

I have designed the chatbot -intent, entities and NLP from Google Dialogflow and I have integrated successfully with the botframework webchat in a html file on referring the url: "https://github.com/Microsoft/BotFramework-WebChat/tree/master/samples/15.d.backchannel-send-welcome-event".

机器人设计和机器人回应很好。我最期待的是在这里没有得到Bot回复。

The bot design and also the bot response is good to go. My most expected is am not getting the Bot response first here.

Google Dialogflow的欢迎意图必须按照上面给出的链接从以下代码中获取。

The welcome intent from Google Dialogflow has to get trigger from the following code as per the link given above.

但我无法先在这里获得机器人触发器。

But am unable to get the bot trigger first here.

您可以通过代码"https://github.com/Microsoft/BotFramework-WebChat/tree/master/告诉我如何触发Google Dialogflow事件的过程samples / 15.d.backchannel-send-welcome-event"

Can you please let me know the procedure how to trigger the event of Google Dialogflow from the code "https://github.com/Microsoft/BotFramework-WebChat/tree/master/samples/15.d.backchannel-send-welcome-event"

我希望与"https://microsoft.github.io/BotFramework-WebChat/15.d.backchannel"相同-send-welcome-event /"

Am expecting same like "https://microsoft.github.io/BotFramework-WebChat/15.d.backchannel-send-welcome-event/"

这是高优先级请尽早回复。

This is on high priority please revert me back as earliest.

等待立即回应。

谢谢。

REGARDS,

IMRANKHAN K

IMRANKHAN K

推荐答案

你可以使用帮助检查welcome bot的可用操作,但我认为这些操作可能无法从Google Dialogflow调用您的自定义意图。

You can check the available actions of the welcome bot using help but I think these actions might not be feasible to call your custom intents from Google Dialogflow.

相反,我建议您查看使用MS bot框架和Google DialogFlow端点构建机器人的代码项目中的示例代码。这个
应该帮助您使用Microsoft的bot框架创建自定义聊天机器人并启用Dialogflow中的webhooks并将自定义机器人的响应返回到Dialogflow意图作为履行响应。这个工作流程可能是一个更好的用例,而不是使用示例欢迎事件机器人

Instead, I would suggest you to go through the sample code from the code project which built a bot using MS bot framework and Google DialogFlow endpoint. Thisarticle should help you create a custom chatbot using Microsoft’s bot framework and enable the webhooks in Dialogflow and return the response from the custom bot to Dialogflow intents as a fulfillment response. This workflow might be a better use case rather than using the sample welcome event bot.

-Rohit


这篇关于如何在机器人首次启动时实施欢迎活动 - NLP来自Google Dialogflow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 01:07