Botframework 路易斯把时间和时间看作数字实体

Botframework 路易斯把时间和时间看作数字实体,botframework,azure-language-understanding,Botframework,Azure Language Understanding,我在下面的JSON中期待着日期、时间、持续时间和加入呼叫的人数 现在,我正确地返回了日期、时间和持续时间等实体,但对所有人来说,这对我来说都不是问题。 我得到了四个实体作为数字,所以现在我很困惑,如何准确地选择不代表任何人的实体。理想情况下,它是第6位,但我不知道在什么基础上,我应该决定第6位是第6位 您可以为人员构建数字和简单实体的复合实体,以便返回的实体将数字指示为6,将简单实体名称指示为人员 { "query": "book audio bridge tomorrow for 6 pe

我在下面的JSON中期待着日期、时间、持续时间和加入呼叫的人数

现在,我正确地返回了日期、时间和持续时间等实体,但对所有人来说,这对我来说都不是问题。 我得到了四个实体作为数字,所以现在我很困惑,如何准确地选择不代表任何人的实体。理想情况下,它是第6位,但我不知道在什么基础上,我应该决定第6位是第6位


您可以为人员构建数字和简单实体的复合实体,以便返回的实体将数字指示为6,将简单实体名称指示为人员

{
  "query": "book audio bridge tomorrow for 6 people for 30 mins starts at 5:30 PM",
  "topScoringIntent": {
    "intent": "BookAudioBridge",
    "score": 0.9895838
  },
  "intents": [
    {
      "intent": "BookAudioBridge",
      "score": 0.9895838
    },
    {
      "intent": "ListBooking",
      "score": 0.00677821552
    } 
  ],
  "entities": [
    {
      "entity": "tomorrow",
      "type": "builtin.datetimeV2.date",
      "startIndex": 18,
      "endIndex": 25,
      "resolution": {
        "values": [
          {
            "timex": "2018-06-21",
            "type": "date",
            "value": "2018-06-21"
          }
        ]
      }
    },
    {
      "entity": "30 mins",
      "type": "builtin.datetimeV2.duration",
      "startIndex": 44,
      "endIndex": 50,
      "resolution": {
        "values": [
          {
            "timex": "PT30M",
            "type": "duration",
            "value": "1800"
          }
        ]
      }
    },
    {
      "entity": "5:30 pm",
      "type": "builtin.datetimeV2.time",
      "startIndex": 62,
      "endIndex": 68,
      "resolution": {
        "values": [
          {
            "timex": "T17:30",
            "type": "time",
            "value": "17:30:00"
          }
        ]
      }
    },
    {
      "entity": "6",
      "type": "builtin.number",
      "startIndex": 31,
      "endIndex": 31,
      "resolution": {
        "value": "6"
      }
    },
    {
      "entity": "30",
      "type": "builtin.number",
      "startIndex": 44,
      "endIndex": 45,
      "resolution": {
        "value": "30"
      }
    },
    {
      "entity": "5",
      "type": "builtin.number",
      "startIndex": 62,
      "endIndex": 62,
      "resolution": {
        "value": "5"
      }
    },
    {
      "entity": "30",
      "type": "builtin.number",
      "startIndex": 64,
      "endIndex": 65,
      "resolution": {
        "value": "30"
      }
    }
  ]
}