Hacker News new | ask | show | jobs
by pdat 5012 days ago
hi,

Well currently we support 4 actions within calendar, "CREATE_EVENT", "SEARCH_CALENDAR", "MODIFY_EVENT" and "DELETE_EVENT". There are a number of different entities including "dateRange, lengthOfTime, timeRange, date, time, meetingTopic, contactName, friendOrRelative, location, originalTime, originalDate, originalLocation, replacementTime, replacementDate" and a few others I'm sure I've missed.

For reminder we support "CREATE_REMINDER" and "SEARCH_REMINDER", we also support the entities "message", "time" and "arrivalLocation" and "leaveLocation". Does this answer your question or did you want a more specific answer? If you want more information feel free to email us directly :) .

1 comments

Hi! Thanks for the reply! One more quick one. :) Are the "time" entities relative or absolute time or either?
Currently we support relative to the current time ("three hours from now") or absolute ("six pm"). We'd be happy to extend it however if we saw demand for extra functionality :) .
A strtotime() with voice? Awesome and thank you!
We normalize relative times so that they're absolute. So, "remind me to marinate the chicken in 2 hours" will get normalized to 6:00 PM (assuming it's being said at 4:00 PM)
How do you deal with "Every two weeks for the next 20 years" ?