2

使用测试面板的电流响应示例:

{
  "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 版本?显然,如果我们没有这样的选择,那真的很不方便。

4

1 回答 1

1

不幸的是,无法在 luis.ai 站点内切换 API 版本。这是一个正在考虑的功能,但目前没有 ETA。

希望有帮助!

于 2019-11-15T19:38:43.093 回答