gpt4 book ai didi

ibm-cloud - IBM Watson 中的跳跃错误

转载 作者:行者123 更新时间:2023-12-02 02:53:16 30 4
gpt4 key购买 nike

我们正在为助手实现 Watson 技术,以帮助某些用户。

对话有些复杂,有时需要针对某些问题做跳答,这样做的坏处是用户可以再问一遍问题,以防不明白这就是问题所在。

当想进入后续进入的节点时,该节点进行了跳转,我标记如下错误

"Did not match the condition of the target node nor any of the conditions of its subsequent siblings."

谁能清楚地告诉我为什么会这样?

Reference image

最佳答案

"Did not match the condition of the target node nor any of the conditions of its subsequent siblings."

如果没有匹配到最终节点,则会发生此错误。如果你的最后一个节点在一个分支中,父节点是一个节点,那么它会回退到根节点来寻找答案。你会得到一个无限循环,它将在 50 次迭代后停止。

像这个例子,如果用户输入“error”,它会跳转到分支,找不到匹配项,返回到根目录以查找停止位置并循环:

enter image description here

如果分支在一个文件夹中,那么它将继续经过该文件夹以找到匹配项。

要解决此问题,您需要在分支中添加一个最终节点,它将像这样捕获 anything_else

enter image description here

另一种选择是使用文件夹节点。它将允许它落回它进入的树,并且您的最终节点应该捕获它。

enter image description here

关于ibm-cloud - IBM Watson 中的跳跃错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50977219/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com