Dialogflow CX |如何让漫游器发起对话? [英] Dialogflow CX | How to let the bot initiate the conversation?

查看:80
本文介绍了Dialogflow CX |如何让漫游器发起对话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Dialogflow ES有一个名为"WELCOME"的事件,使该机器人有可能发起对话.

如何在Dialogflow CX中做同样的事情?

Dialogflow CX的开始"页面中没有条目实现选项.

  1. 删除默认欢迎意图"路线.我无法执行此操作.我收到以下错误.

  2. 在默认欢迎意图"中,将意图从"WELCOME"更改为无.我收到以下错误.我已将条件设置为true.我还将页面过渡设置为入职"页面.

如果需要更多屏幕截图,请告诉我.

解决方案

要完成您要的内容,最简单的方法是:

  1. 打开默认开始流程" 并选择其开始页面.
  2. 删除所有路线 并添加一条新路线.
  3. 此新路线采用自定义条件",以true的形式(在条件窗格中,单击定制表达式",然后键入true),然后转到新页面称为"入职";(在路线创建页面的底部,单击新页面并将其命名为Onboarding).
  4. 转到入职页面,然后添加条目您好,您今天好吗?"

通过这种方式,每次默认的启动流程被激活(打开窗口)时,机器人将使用该实现.

好的,我尝试创建一个新的代理,我认为我解决了这个问题.似乎我们无法删除默认的欢迎意图,但这无关紧要.

我创建了两个页面:入职页面和第一页.从一开始,我就向加入页面添加了一条始终真实的路线,并且在加入页面和首页上也做了同样的事情.从测试控制台中可以看到,我们仅获得第二次转换的预期行为,请看以下内容:

起始页:

入职页面:

第一"页:

在查找文档信息后,我认为我理解了这一点:在测试控制台中,google不允许您查看对话的实际行为.如果您看到屏幕截图,当我说嗨"时,并转到入职页面,我立即被该真实"消息带到下一页.过渡.由于开始页面上的序列完全相同,因此应该在此处应用相同的行为:您只能在控制台中看不到它,因为打开窗口"控制台中的按钮与在现实生活中"打开对话不同.

因此,我建议您要做的是为该机器人创建一个新的集成或开发一个测试环境,例如,一个具有

Dialogflow ES has an event called 'WELCOME' which makes it possible for the bot to initiate the conversation.

How can I do the same in Dialogflow CX?

There is no entry fulfillment option in the Start Page of Dialogflow CX.

Edit:

  1. Delete the 'Default Welcome Intent' route. I am unable to perform this. I get the following error.

  2. In 'Default Welcome Intent' change the intent from 'WELCOME' to nothing. I get the following error. I have set the condition to true. I have also set the page transition to 'onboarding' page.

Please let me know if more screenshots are required.

解决方案

To accomplish what you're asking, the easiest way would be to:

  1. Open the "Default Start Flow" and select its Start page.
  2. Remove all routes and add a new one.
  3. This new route takes a "custom condition" in the form of true (in the condition pane, click on customize expression and then just type true) and goes to a new page called "Onboarding" (on the bottom of the route creation page, click on new page and name it Onboarding).
  4. Go to the Onboarding page and add an entry fulfilment "Hello there, how are you doing today?"

in this way every time the default start flow is activated (window is opened) the bot will use that fulfilment.

EDIT:

ok, i tried creating a new agent and i think i solved the problem. it seems as though we can't erase the default welcome intent, but it doesn't matter.

i created two pages: onboarding and first page. from start i added an always true route to the onboarding page, and i did the same with the onboarding and first page. As you can see from the testing console we only get the expected behaviour for the second transition, look at this:

start page:

onboarding page:

"first" page:

After looking for info on the documentation i think i understood this: from the testing console, google doesn't let you see the actual behaviour of the conversation. If you see the screenshots, when i say "hi" and go the the onboarding page, i get immediately brought to the next page by that "true" transition. Since the same exact sequence is on the start page, the same behaviour should apply there: you only can't see it in the console because "opening the window" in the console is not the same as opening the conversation "in real life".

So, what i suggest you to do is create a new integration or develop a testing environment for the bot, say a website with the messenger integration, a telephony integration or whatever else, and test this onboarding on there. Speaking from personal experience, try with the messenger one maybe: you get a link and you just embed the script in any webpage (works well and easy).

It should work, as in, as soon as you open the conversation, the bot should go the onboarding page and say "hello there!"

这篇关于Dialogflow CX |如何让漫游器发起对话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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