沃森对话-为什么未选择ANYTHING ELSE节点 [英] Watson Conversation - Why is the ANYTHING ELSE node not chosen

查看:175
本文介绍了沃森对话-为什么未选择ANYTHING ELSE节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在对话框的和处构建其他"节点.输入时,只是一个虚拟的,奇怪的文本,例如"dsajhfkjhfajfk",而-一直以来,Watson似乎默认情况下选择了准意图的节点……而不是进入其他任何节点

I build the "anything else" node at the and of my dialog. When entering , just a dummy, weird text like "dsajhfkjhfajfk" then - all the time, it seems like Watson is by default choosing the semi last intend node... instead of going into the anything else node

推荐答案

最好理解,意图是Watsons对世界的看法.

It's best to understand that the intents is Watsons view of the world.

在尝试回答问题时,它假设您的问题与它如何看待世界有关.它不知道dsahfkjshasdk是没有意义的,因为您没有意图.因此,它会尝试使用它所知道的内容来尽可能地回答问题.

As it tries to answer a question, it assumes that your question relates to how it sees the world. It doesn't know that dsahfkjshasdk is meaningless, because you don't have an intent for it. So it tries to answer as best as possible with what it does know.

在Watson的早期版本中,其置信度值高低.如果响应低于阈值,那么它将达到其他任何条件".

In the earlier versions of Watson it would have a high and low confidence value. If the response was below the threshold, then it would hit the "anything else".

在对话"中,此检查未完成.因此,即使找到的意图是置信度为0.01%,它仍将其作为有效答案.

In Conversation this check isn't done. So even if it finds an intent that is 0.01% confidence, it will still take it as a valid answer.

要解决此问题,您可以先尝试检查信心.我有一个此处如何处理的示例.

To work around this, you can try checking confidence first. I have an example of how this is handled here.

摘要:

首先创建一个具有以下条件的节点:

First create a node with a condition:

这是为了防止其他节点出现故障.

This is to prevent further nodes failing.

之后,您可以创建两个节点.

After that you can create two nodes.

最后一个节点应具有一个继续点,从该继续点指向第一个Intent检查节点(链接到条件).

The last node should have a continue from which points to the first Intent check node (linking to the condition).

如果将这些意图节点嵌套在其他节点之一之下,那么它将落入其他任何事物".或者,如果您使用实体检查,则将失败.

If you nest those intent nodes under one of the other nodes, then it will fall through to the "anything else". Alternatively if you use entity checking, it will fall through is no matches.

TL; DR :其他所有内容"目前都无法正常运行,正如您期望的那样.将来可能会改变.

TL;DR: "Anything else" is currently not working as you would expect it to work. That may change in the future.

这篇关于沃森对话-为什么未选择ANYTHING ELSE节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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