使用Azure App Insights显示分数低于60%Qna Maker的答案

问题描述

我已经使用Luis和QnA Maker(在C#中,Bot Framework v4)设置了Azure Bot。我想查询App Insights,并获得有关所问问题及其答案的信息,我能够获得它们,但我需要获得分数低于60%的那​​些 而我没有得到小于

enter image description here

解决方法

您应该使用toint()运算符将string转换为int类型,然后使用在查询的第11行中,如下进行更改:

where toint(score) <= 60 and message ="xxxxx"