对话流,陷入循环对话,无法触发取消事件

发布于 2025-01-10 12:04:01 字数 1063 浏览 0 评论 0原文

嘿,我是 Dialog Flow 的新用户,我喜欢这个应用程序,但有一个问题我无法解决。我的机器人助手实际上非常简单,是由一个带有数字的简单菜单组成,每个数字都有一个意图:

(1)我们的业务如何运作 (二)服务 (3) 我们的好处 (四)项目要求 (五)金融 (6) 会议及预约 (七)联系方式 (8) 问题与技术支持 默认后备意图 默认欢迎意图

每个号码都有一个返回主菜单的路径,以及一个请求真正助手的路径。

例如:会议和约会 (6)

我们每周进行一次视频通话协调,您也可以在 Trello 上关注项目的进度。如果您想安排会议时间,请发送电子邮件至[email protected],告知何时、原因,我们使用 https://meet.google.com 会议平台。键入 [X] 返回菜单。输入 [A] 请求真实答案。

问题是当用户决定点击“A”来请求真正的助手时。这应该结束流程并停止循环。我遵循了官方的 Google Dialog 流程文档并完成了他们建议的流程:

1 - 添加事件:actions_intent_CANCEL

2 - 将此意图设置为对话结束

但即使执行此步骤,谈话还不止于此。当有人调用真正的辅助对话流答案:我可以帮忙吗?,然后用户提出他的问题,但是它总是会回退并且对话不会在那里结束。我还没有将nodejs与dialogflow集成,但我认为没有必要强制退出对话。我能做些什么?

输入图片此处描述

Hey I'm a new Dialog Flow user, I love the application, but there is an issue I can't solve. My bot assistent actually is very simple is made by a simple menu with numbers, each number has a intent:

(1) How our business works
(2) Services
(3) Our benefits
(4) Project request
(5) Financial
(6) Meeting and appointments
(7) Contact
(8) Questions and technical support
Default fallback intent
Default welcome intent

Every numbers has a away to come back to the main menu, and a away to ask for a real assistent.

For exemple: Meeting and appointments (6)

We do weekly video call alignments, as well as you can follow the progress of the project on Trello. If you want to schedule a meeting time, send an email to [email protected], inform when, reasons, we use the https://meet.google.com platform for meetings. Type [X] to return to the menu. Enter [A] to request a real answer.

The problem is when the user decide to tap 'A' for request a real assistent. This should end the flow and stop doing a loop. I followed the official Google Dialog flow documentation and to finish the flow they suggested:

1 - Add event: actions_intent_CANCEL

2 - Set this intent as end of conversation

But even doing this steps, the conversation doesn't stop there. When someone call the real assistent dialog flow answer: What can I help ?, then the user ask his question, however it always go to fallback and the conversation does not finish there. I haven't integrated nodejs with dialogflow yet, but I think it isn't necessary to force a quit conversation. What can I do?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文