Bot Builder: v3.2.3
I'm having problems with the builder.EntityRecognizer.resolveTime(args.entities) resolving builtin.datetime.date coming back from LUIS.
After LUIS has resolved the enties, it returns for the string 'next summer':
{
"entity": "next summer",
"type": "builtin.datetime.date",
"startIndex": 24,
"endIndex": 34,
"resolution": {
"date": "2017-SU"
}
}
This falls straight through the logic inside EntityRecognizer#resolveTime, returning undefined. I'm assuming this is regression due to a change in the data LUIS is returning?
I've had a look through the issues and found #7 logged back in March, but it's for a different problem.
I'm calling it in the same way as many of the examples:
var departureDate = builder.EntityRecognizer.resolveTime(args.entities);
Similarly, this will also fail given a more straightforward string of:
{
"entity": "july 2017",
"type": "builtin.datetime.date",
"startIndex": 0,
"endIndex": 8,
"resolution": {
"date": "2017-07"
}
}
I'm pretty new to the Bot Framework, so please accept my apologies if I've missed something.