Luis get intent API 没有向我发送正确的意图?
Luis get intent API is not sending me right intent?
我正在使用 Cognitive Service's LUIS API 来获取任何特定文本的意图,就像我想获取 "I want to talk with agent" 的意图一样。所以在这里我应该得到 "agent" 我从 Luis UI Test window 得到的意图但是当我试图通过 API 时使用相同的文本我得到了不同的意图。
路易斯UI测试window:
但这是我从 API 电话中得到的回复:
{
"query": "i want to talk with agent",
"topScoringIntent": {
"intent": "Help",
"score": 0.212456271
},
"intents": [
{
"intent": "Help",
"score": 0.212456271
},
{
"intent": "Cancel",
"score": 0.07567735
},
{
"intent": "None",
"score": 0.0337549262
},
{
"intent": "Greeting",
"score": 0.02286759
}
],
"entities": [],
"sentimentAnalysis": {
"label": "negative",
"score": 0.09926739
}
}
您似乎还没有发布它,请务必通过门户网站或使用 API 发布它。
我正在使用 Cognitive Service's LUIS API 来获取任何特定文本的意图,就像我想获取 "I want to talk with agent" 的意图一样。所以在这里我应该得到 "agent" 我从 Luis UI Test window 得到的意图但是当我试图通过 API 时使用相同的文本我得到了不同的意图。
路易斯UI测试window:
但这是我从 API 电话中得到的回复:
{
"query": "i want to talk with agent",
"topScoringIntent": {
"intent": "Help",
"score": 0.212456271
},
"intents": [
{
"intent": "Help",
"score": 0.212456271
},
{
"intent": "Cancel",
"score": 0.07567735
},
{
"intent": "None",
"score": 0.0337549262
},
{
"intent": "Greeting",
"score": 0.02286759
}
],
"entities": [],
"sentimentAnalysis": {
"label": "negative",
"score": 0.09926739
}
}
您似乎还没有发布它,请务必通过门户网站或使用 API 发布它。