从对话到对话:如何执行< folder label ="Global">.做? [英] From Dialog to Conversation: how to do what <folder label="Global"> do?

查看:152
本文介绍了从对话到对话:如何执行< folder label ="Global">.做?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Watson对话框中,<folder label="Global">可用于处理异议. 如果在某个对话框的用户中间输入异议,则文件夹Global可以回答,然后将对话框保持在同一位置.

In Watson Dialog, <folder label="Global"> could be used to handle objections. If in middle of some dialog user type an objection, folder Global could answer and after that keep the dialog at the same point.

我试图对Watson Conversation做同样的事情,但我迷路了.显然,这是不可能或不容易的.节点everything_else不能解决问题.它中断了对话.

I trying to do the same with Watson Conversation but I'm lost. Apparently it is not possible or not easy. The node everything_else don't solve the problem. It breaks the conversation.

Watson对话是否是Watson Dialog的演变?它具有较少的功能?

Watson Conversation is or not is a evolution of Watson Dialog? It has less features?

推荐答案

对话和对话是两个不同的系统.对话将保持状态,而在对话"中则应保持状态.

Conversation and Dialog are two different systems. Dialog would maintain state, while in Conversation you are expected to maintain it.

目前没有全局功能,但是您可以通过两种不同的方式来模拟该功能.

There is no global feature at this time, but you can simulate the feature through two different ways.

此选项可能是最简单的.您拥有拥有所有全局术语的第二个工作空间.在检查区域末尾的第一个工作区的处理流程中,您有一个关键字.此关键字触发您的应用程序层在第二个工作空间中搜索全局答案.

This option is probably the easiest. You have your second workspace with all your global terms. In your process flow of the first workspace at the end of a check area you have a keyword. This keyword triggers your application layer to search the second workspace for the global answer.

这样,您可以轻松地在第一个工作区中保持自己的位置.

This way you can maintain your position in the first workspace easily.

此示例使用返回文本"SearchGlobal"来触发它.完成后,将返回要求是/否.

This example uses the return text "SearchGlobal" to trigger it. Once it completes, it will return to asking for a yes/no.

在这种情况下,当您看到"SearchGlobal"文本时,将存储响应中的上下文对象.然后再次发送用户输入,仅与上下文对象一起跳到相关分支.

In this case when you see the "SearchGlobal" text, you store the context object from the response. Then send the users input again, only with the context object to jump to a related branch.

您可以通过加载上下文变量或存储预先存在的上下文对象以跳转到分支来做到这一点.后者有点麻烦.

You can do this by either loading a context variable, or storing a pre-existing context object to jump to a branch. The latter is a little tricker.

这篇关于从对话到对话:如何执行&lt; folder label ="Global"&gt;.做?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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