在Dialogflow中无需用户输入即可触发下一个意图 [英] Triggering next intent without user input in Dialogflow

查看:36
本文介绍了在Dialogflow中无需用户输入即可触发下一个意图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Dialogflow构建我的第一个聊天机器人。在我的聊天会话中,我想从一种意图转移到另一种意图,而不必在两者之间进行用户输入。可以在 Imgur 上的这张图片中看到。

I'm building my first chatbot using Dialogflow. During my chat sessions, I would like to move on from one intent to another, without having user input in between. This can be seen in this image on Imgur.

到目前为止的聊天室布局可以在此处看到。

The layout of the chat so far can be seen here.

我应该在没有任何用户输入的情况下,直接从显示视频或文章转到好了,您的车...,但我似乎无法。我该如何解决?

I'm supposed to move from showing the video or article directly to "allright has your car..." without any user input, but I don't seem to be able to. How do I solve this?

我尝试使用in和output上下文,但这似乎不起作用。

I've tried using in and output contexts, but that didn't seem to work.

谢谢

推荐答案


可以通过Dialogflow 实现触发事件,或者
检测意图API 。这些事件可以在您的Dialogflow代理中处理,也可以在履行中处理。

Events can be triggered through Dialogflow fulfillment or the detect intent API. These events can be handled in your Dialogflow agent or in fulfillment.

在此处查看文档:对话流事件

这意味着您需要以编程方式进行此操作

This means you will need to programmatically do this

这篇关于在Dialogflow中无需用户输入即可触发下一个意图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆