使用测试面板的电流响应示例:
{
"query": "incident 2",
"prediction": {
"normalizedQuery": "incident 2",
"topIntent": "INCIDENT_DETAILS",
"intents": {
"INCIDENT_DETAILS": {
"score": 0.972139537
}
},
"entities": {
"INCIDENT_NUMBER": [
"2"
],
"$instance": {
"INCIDENT_NUMBER": [
{
"type": "INCIDENT_NUMBER",
"text": "2",
"startIndex": 9,
"length": 1,
"score": 0.989707232,
"modelTypeId": 1,
"modelType": "Entity Extractor",
"recognitionSources": [
"model"
]
}
]
}
}
}
}
v3之前是什么:
{
"query": "incident 2",
"topScoringIntent": {
"intent": "INCIDENT_DETAILS",
"score": 0.972139537
},
"entities": [
{
"entity": "2",
"type": "INCIDENT_NUMBER",
"startIndex": 9,
"endIndex": 9,
"score": 0.989707232
}
]
}
我错过了如何设置测试面板应使用哪个API版本的信息吗?显然,如果我们没有这样的选择,那确实很不方便。
不幸的是,在luis.ai网站中无法在API版本之间切换。正在考虑此功能,但目前尚无ETA。
希望帮助!