locked
How to get date ranges from LUIS's json when user types this "i will not join in office till day after tomorrow" RRS feed

  • Question

  • I am using   builtin.datetimeV2.date for extracting dates between current date and the date which user is actually telling to my bot using these types of phrases but i am only getting the end date, I actually want bot to return a date range which it understood from user phrase
    Monday, July 22, 2019 9:45 AM

All replies

  • Hello Nikhil,

    You can add the prebuilt domain calendar which has many prebuilt entities with examples that can parse your utterances and label the prebuilt entities. builtin.datetimeV2.date can be used along with calendar to extract the entities related to date and these can then be compared to the actual date to return the range. 

    -Rohit


    Wednesday, July 24, 2019 5:14 PM
  • Hi Nikhil,

    Does above solve your problem? Please let us know if it works. Thank you.

    Regards,

    Yutong

    Monday, July 29, 2019 5:20 AM