Closed Zeng666666 closed 2 years ago
full log: log_PingPongUS_0906.txt
等等,我好像发现问题了,我删掉 localDateTime 这个 slot 之后是 work 的,我再试一下加上行不行
很奇怪,我一个一个测试了一下,如果 frame level confirmation condition 中不加 && localDateTime != null
就是可以 work 的,加上它就会像上面说的那样报错:
但是,在过去 work 的 agent 中,这样定义 localTime 是没有问题的:
而且新建了一个 intent 只有 localDateTime slot 这样用也是没有问题的:
@Zeng666666 我 clone 了一份:PingPongUS_0907,能复现上述报错。尝试把 localDateTime 改为 time,就不会有报错,再把 time 改回 localDateTime 也没有报错,导出代码对比了一下,之前添加的 localDateTime 缺少了一些部分
详见:https://naturali-io.feishu.cn/docx/doxcnNElnWtBaDq3TfIEUxe0wRb
@jfang137 在https://build.framely.ai/org/6284c6f1d3c0469ed06d423c/agent/63171b581468c7bbd206eefa/intent/63171b581468c7bbd206eab4 里面localDateTime的prompt是没有的
这个slot的prompt strategy好像是因为是旧数据,展示了个默认值,实际是个空值,刚做了下兼容,再试试 @Zeng666666
@jfang137 试过了,现在可以了。不过这个 bot 虽然是原来创建的,但这个 Intent BuyTicket 是 6 号新创建的,也会有这种数据的问题吗?而且奇怪的是恰好出现在了 localDateTime 上,如果使用其他的 entity 比如 LocalTime 和 Movie 就没有出现这个问题(不过我目前也只是用过这三个在这个 intent 上)
那我先 close 了,然后再看看之后还有没有这种情况发生
Is there an existing issue for this?
Make sure you are using Framely on Google Chrome!
Current Behavior
在测试 UM 的 PingPong chatbot 上,定义了 buy ticket intent,但在 try it now 上测试时,当回答 value rec 时提示报错:
Expected Behavior
不应该报错,应该继续 confirmation 如果把 confirmation 删掉也是这样的报错,不能进入下一个 slot
Use Case
/
Steps To Reproduce
复现方式:
Label of org.project
PingPongUS_0906
Framely Link
https://build.framely.ai/org/6284c6f1d3c0469ed06d423c/agent/63171b581468c7bbd206eefa/intent/63171b581468c7bbd206eab4/slot/63171b581468c7bbd206eaaa
Test Case
No response
Additional information
No response