Recognizers-Text icon indicating copy to clipboard operation
Recognizers-Text copied to clipboard

What does the value of Timex mean?

Open v-geberr opened this issue 8 years ago • 1 comments

If I'm trying to figure out why my LUIS datetime is right/wrong, does the value of Timex, "timex": "XXXX-WXX-4T13", help me figure out which regEx expression was matched?

{
  "query": "schedule a meeting with team for thur 1pm re next sprint",
  "topScoringIntent": {
    "intent": "Calendar.Add",
    "score": 0.987756968
  },
  "intents": [
    {
      "intent": "Calendar.Add",
      "score": 0.987756968
    },
    {
      "intent": "Calendar.Edit",
      "score": 0.0393468961
    },
    {
      "intent": "Calendar.Find",
      "score": 0.0280000325
    },
    {
      "intent": "None",
      "score": 0.0165446866
    },
    {
      "intent": "Calendar.CheckAvailability",
      "score": 0.004120553
    },
    {
      "intent": "Calendar.Delete",
      "score": 0.00268106232
    }
  ],
  "entities": [
    {
      "entity": "thur 1pm",
      "type": "builtin.datetimeV2.datetime",
      "startIndex": 33,
      "endIndex": 40,
      "resolution": {
        "values": [
          {
            "timex": "XXXX-WXX-4T13",
            "type": "datetime",
            "value": "2018-02-08 13:00:00"
          },
          {
            "timex": "XXXX-WXX-4T13",
            "type": "datetime",
            "value": "2018-02-15 13:00:00"
          }
        ]
      }
    },
    {
      "entity": "team",
      "type": "Name",
      "startIndex": 24,
      "endIndex": 27,
      "score": 0.8884937
    },
    {
      "entity": "meeting",
      "type": "Calendar.Subject",
      "startIndex": 11,
      "endIndex": 17,
      "score": 0.5977583
    }
  ]
}

v-geberr avatar Feb 15 '18 17:02 v-geberr

I get the idea from the timex folder.

v-geberr avatar Feb 15 '18 17:02 v-geberr