Tom Lieber's Microblog

Jul 21, 2024

I keep finding new uses for letting LLMs generate calendar files, but today I wanted to close the loop! I want it to read and write to my calendar directly.

So to start, I provided the LLM a “tool” to access Google Calendar’s ListEvents API. Just being able to read my calendar is pretty neat:

Q: What events do I have today?
Tool use: Get today’s events
A: A bulleted list of event names and times, followed by a summary like, “Looks like it’s your usual daily routine, with a trip to the museum in the morning.”

Q: Of breakfast, lunch, and dinner, which do I already have blocked out?
Tool use: Get today’s events
A: Breakfast for the kids is on there, and the drive to the museum has a note about stopping for your breakfast, but there are no lunch or dinner events.

Q: Do the kids have something planned for every weekday this week?
Tool use: Get this week’s events
A: Yep, they have X on Monday, Y on Tuesday, …

I could get used to this…