CAI Bot可以正确识别意图,然后仍然触发后备技能

2020-08-22 04:50发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


大家好,

尽管已正确识别了用户的输入并将其分配给正确的意图,但我们的CAI-Bot仍在发挥作用,该机器人会触发并显示后备技能。

你能帮忙吗?

以下是信息:

{" nlp":{" uuid":" 7353d8df-28cb-4913-a656-eb452fd67d76663862","意图":[{" slug":" adobeindesign","信心":0.97,"描述":" AdobeInDesign"},{" slug":"再见","信心":0.91,"描述":""}],"实体":{"组织":[{" raw":" adobe indesign","信心 ":0.52}]}," language":" en"," processing_language":" en"," version":" 2001.0.0"," timestamp":" 2020-03-13T17:39:02.887608 + 00: 00","状态":200,"日志":[],"源":" adobe indesign"," act":" assert"," type":null," sentiment":" neutral"}," qna ":{},"消息":[{"类型":"按钮","内容":{"标题":"以下是我可以为您提供信息的主题列表:","按钮":[{ "值":" Sol帮助","标题":" Sol帮助","类型":"回发"},{"值":" Sol支持"," title":" Sol支持票","类型" :" postback"},{" value":"营销翻译"," title":"营销翻译"," type":" postback"}]}," delay":null," value":{" title" :"这是我可以给你的主题清单 有关信息:","按钮":[{"值":" Sol帮助","标题":" Sol帮助","类型":"回发"},{" value":" Sol支持","标题 ":" Sol支持票证","类型":"回发"}]}}],"对话":{" id":" test-1584121136191","语言":" en","内存":{} ,"技能":"后备","技能发生率":1},"日志":{"输入":" adobe indesign","日志":[{"级别":"错误","代码":" E_MULTIPLE_SKILLS ","数据":{"技能":[" c0f34c0f-0be9-4eb1-8013-96d12e2a350d"," 646dbdf3-feb0-477f-b2fa-fd27cb5d1a8f"],"消息":"技能"打招呼"和技能'AdobeInDesign 小册子均已验证其触发器""}," timestamp":" 2020-03-13T17:39:02.000Z"," conversation":{" id":" test-1584121136191"," conversation_id":" test-1584121136191 "," warning":" conversation_id字段将于2018年1月1日起折旧! 改用id字段","语言":" en","内存":{}," skill_stack":[]," skill":null," skill_occurences":0," participant_data":{}} },{" level":"信息","代码":" I_SKILL_TRIGGERED","数据":{" skill_id":" 3fa1d21c-80aa-49af-a4d4-2521faa8da80","原因":" FALLBACK","消息 ":"已触发技能后备""},"时间戳":" 2020-03-13T17:39:02.000Z"},{"级别":"信息","代码":" I_REQUIREMENTS_OK","数据": {" skill_id":" 3fa1d21c-80aa-49af-a4d4-2521faa8da80","消息":"已验证技能后备要求,正在执行操作"},"时间戳":" 2020-03-13T17:39:02.000Z"} ,{" level":"信息"," code":" I_EXECUTE_ACTION"," data":{" type":"消息"," value":{" type":"按钮"," content":{" 标题":"这里是我可以向您提供信息的主题列表:","按钮":[{"值":" Sol帮助","标题":" Sol帮助","类型":"回发" },{" value":" Sol Support"," title":" Sol Support tickets"," type":" postback"},{" value":" Marketing translation"," title": "市场营销翻译","类型":"回发"}]},"延迟":null,"值":{"标题":"以下是我可以为您提供信息的主题列表:","按钮" :[{" value":" Sol帮助"," title":" Sol帮助"," type":"回发"},{" value":" Sol支持"," title":" Sol支持票", " type":" postback"}]}}}," timestamp":" 2020-03-13T17:39:02.000Z"}]}," hasDelay":true," hasNextMessage":false}

置信度为0.97,表明意图是adobeindesign。 但这会触发后备技能。

监视器还显示它已将输入正确分配给了意图。

感谢Gesine

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


大家好,

尽管已正确识别了用户的输入并将其分配给正确的意图,但我们的CAI-Bot仍在发挥作用,该机器人会触发并显示后备技能。

你能帮忙吗?

以下是信息:

{" nlp":{" uuid":" 7353d8df-28cb-4913-a656-eb452fd67d76663862","意图":[{" slug":" adobeindesign","信心":0.97,"描述":" AdobeInDesign"},{" slug":"再见","信心":0.91,"描述":""}],"实体":{"组织":[{" raw":" adobe indesign","信心 ":0.52}]}," language":" en"," processing_language":" en"," version":" 2001.0.0"," timestamp":" 2020-03-13T17:39:02.887608 + 00: 00","状态":200,"日志":[],"源":" adobe indesign"," act":" assert"," type":null," sentiment":" neutral"}," qna ":{},"消息":[{"类型":"按钮","内容":{"标题":"以下是我可以为您提供信息的主题列表:","按钮":[{ "值":" Sol帮助","标题":" Sol帮助","类型":"回发"},{"值":" Sol支持"," title":" Sol支持票","类型" :" postback"},{" value":"营销翻译"," title":"营销翻译"," type":" postback"}]}," delay":null," value":{" title" :"这是我可以给你的主题清单 有关信息:","按钮":[{"值":" Sol帮助","标题":" Sol帮助","类型":"回发"},{" value":" Sol支持","标题 ":" Sol支持票证","类型":"回发"}]}}],"对话":{" id":" test-1584121136191","语言":" en","内存":{} ,"技能":"后备","技能发生率":1},"日志":{"输入":" adobe indesign","日志":[{"级别":"错误","代码":" E_MULTIPLE_SKILLS ","数据":{"技能":[" c0f34c0f-0be9-4eb1-8013-96d12e2a350d"," 646dbdf3-feb0-477f-b2fa-fd27cb5d1a8f"],"消息":"技能"打招呼"和技能'AdobeInDesign 小册子均已验证其触发器""}," timestamp":" 2020-03-13T17:39:02.000Z"," conversation":{" id":" test-1584121136191"," conversation_id":" test-1584121136191 "," warning":" conversation_id字段将于2018年1月1日起折旧! 改用id字段","语言":" en","内存":{}," skill_stack":[]," skill":null," skill_occurences":0," participant_data":{}} },{" level":"信息","代码":" I_SKILL_TRIGGERED","数据":{" skill_id":" 3fa1d21c-80aa-49af-a4d4-2521faa8da80","原因":" FALLBACK","消息 ":"已触发技能后备""},"时间戳":" 2020-03-13T17:39:02.000Z"},{"级别":"信息","代码":" I_REQUIREMENTS_OK","数据": {" skill_id":" 3fa1d21c-80aa-49af-a4d4-2521faa8da80","消息":"已验证技能后备要求,正在执行操作"},"时间戳":" 2020-03-13T17:39:02.000Z"} ,{" level":"信息"," code":" I_EXECUTE_ACTION"," data":{" type":"消息"," value":{" type":"按钮"," content":{" 标题":"这里是我可以向您提供信息的主题列表:","按钮":[{"值":" Sol帮助","标题":" Sol帮助","类型":"回发" },{" value":" Sol Support"," title":" Sol Support tickets"," type":" postback"},{" value":" Marketing translation"," title": "市场营销翻译","类型":"回发"}]},"延迟":null,"值":{"标题":"以下是我可以为您提供信息的主题列表:","按钮" :[{" value":" Sol帮助"," title":" Sol帮助"," type":"回发"},{" value":" Sol支持"," title":" Sol支持票", " type":" postback"}]}}}," timestamp":" 2020-03-13T17:39:02.000Z"}]}," hasDelay":true," hasNextMessage":false}

置信度为0.97,表明意图是adobeindesign。 但这会触发后备技能。

监视器还显示它已将输入正确分配给了意图。

感谢Gesine

付费偷看设置
发送
1条回答
哎,真难
1楼-- · 2020-08-22 05:37

您好,好吧

在JSON有效负载中,您将找到一个logs元素,该元素提供此处发生问题的必要信息。

"日志":[{"级别":"错误","代码":" E_MULTIPLE_SKILLS","数据":{"技能":[" c0f34c0f-0be9-4eb1-8013-96d12e2a350d"," 646dbdf3- feb0-477f-b2fa-fd27cb5d1a8f"]," message":"技能"问候"和技能" Adob​​eInDesign手册"均已验证其触发器"}

似乎触发了"技能问候"和" Adob​​eInDesign手册"这两个技能。 在这种情况下,还会执行后备技能。

这是由于事实,两个意图被高度确定地确定:

{" slug":" adobeindesign"," confidence":0.97," description":" Adob​​eInDesign"},{" slug":"再见"," confidence":0.91," description":""}

为了解决这个问题,您需要改进意图培训-模型中可能存在两种意图表达的混淆。 可以在您的漫游器的"监控"/"培训分析"标签中找到更多信息。

BR,

斯蒂芬

一周热门 更多>