Recognizers-Text
Recognizers-Text copied to clipboard
[* DateTimeV2] Differentiate relative time and absolute time
Is your feature request related to a problem? Please describe. Here "absolute time" means time like 5pm, 11am. "relative time" means "tomorrow", "yesterday" When user pass in an utterance like "boot a meeting at 11:59am", recognizer return absolute time 11:59am and can be used directly. When user pass in an utterance like "update the meeting to now", 'now' is recognized based on the local time zone, and is different from user's time zone. so user has to remap it to get the real time.
Describe the solution you'd like We hope to have a flag to tell if the return value is from relative time or absolute time. It seems "PRESENT_REF" is not set always for the datetimeV2 entity. Another solution is to let user pass in the timezone information.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.