Hi,
The LUIS datetimeV2 built in entity will process "2nd May" as:
"entities": [
{
"entity": "may 2nd",
"type": "builtin.datetimeV2.date",
"startIndex": 0,
"endIndex": 6,
"resolution": {
"values": [
"timex": "XXXX-05-02",
"type": "date",
"value": "2021-05-02"
},
"value": "2022-05-02"
}
]
Note the "XXXX"'s. See https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-reference-prebuilt-datetimev2
Because of this you need to change the datatype of the timex attribute in the LUISEndPointAPI\Date structure from "date" to "text".
I fixed my local version but then broke it again when I updated to the latest forge version, hence the request.
Hope this makes sense.
Thanks