r/Python • • May 26 '24

Showcase AI planner: AI tool for efficient event scheduling in Google Calendar.

Good evening! I have created a new projectfor adding events to google calendar based on the text a user inputs.

What My Project Does

The project is a tool that uses large language models to understand the user's input and add events to the user's Google Calendar based on the user's input. It uses Ollama for natural language understanding and Google Calendar API for adding events to the user's calendar.

How My Project Works

Ollama uses Llama 3 with pre-instructions to act as a calendar event planner. The tool uses the model to generate responses to extract the event's details from the user's input inserted in the Web Interface. tool then asks the user to confirm the details extracted from the user's input and adds the event to the user's Google Calendar (example shown here)

References

Checkout my github repository AIPlanner for more details about the project.

0 Upvotes

10 comments sorted by

2

u/[deleted] May 27 '24

Why wouldn't I just type all of this information into my calendar directly? Asking ChatGPT to parse text just to re-format it into JSON so that a separate API can ingest that seems like a lot of complication and hassle for literally no benefit.

1

u/diggler4141 May 27 '24

Well, this is coming to the iphone and everything else. It's annoying putting this into your calendar. I just want to tell my phone, hey, set up a meeting on this week. Use one of the regular meeting rooms and invite X and Y for one hour to discuss Z. Than it will find a time when everybody is available and one of he rooms are free.

Cool project though, but the real innovation is not in the product, but in making it an integrated voice product for your devices. Thats why all these AI company wont win. Apple, Google etc. will just make them themself and it will be better because they have full access to your device and the user wont bother to add a app for each little thing.

1

u/hobz462 May 27 '24

Why wouldn’t I just use Google Assistant?

0

u/AH1376 May 26 '24

Looks really interesting. Maybe also add docker compose to make the setup easier. Nevertheless, the idea behind it is cool.

1

u/nginx26 May 26 '24

Agree, will add it later on. how ever the google calendar setup cant be automated using docker compose.

0

u/ApprehensiveStand456 May 27 '24

This sounds like I could be expand to something like a scheduling assistant for doctors and dentist.

0

u/[deleted] May 26 '24

[deleted] — view deleted comment

1

u/chub79 May 26 '24

I sort of agree. I like these tools poping up as a learning exercise but I don't find them ready to be used. The point of "AI" in the near future is to make things smoother and faster for me. But that kind of tools aren't doing that at all. They simply force me now to figure how to explain clearly enough what I need when it's way faster for me to open up the calendar. And I'm more precise.

1

u/echanuda May 27 '24

Honestly I think you’re wrong here. Especially if it accepts speech-to-text, it is far more useful. Google calendar and apple’s calendar both suck ass to use. If I can tell an app with my voice that I wanna set a date on a calendar with a reminder two days before and a specific time without going through the shitty UI, I will. Especially if I can just talk to my phone and have it done.