In this example, Microsoft shows "tuesday to thursday" being recognized by LUIS, which responds with a start and date time. However, when I use the same example with my LUIS, it doesn't send me start or end dates. it just sends me a timex string, which I don't see any documentation on how to convert it to start and end dates in C#, unless I create my own parser, which is like a whole different project for me that I'm sure Microsoft's already done. This is what LUIS returns
{
"$instance": {
"datetime": [
{
"startIndex": 17,
"endIndex": 41,
"text": "from tuesday to thursday",
"type": "builtin.datetimeV2.daterange"
}
]
},
"datetime": [
{
"type": "daterange",
"timex": [
"(XXXX-WXX-2,XXXX-WXX-4,P2D)"
]
}
]
}
On the last line, it gives a string with a bunch of X
s. Why didn't they give start and end time like in the demo? How can I get that? Microsoft also mentions there's a resolution
property. I don't receive that resolution property by LUIS.