Inspiration

As I was riding my bike from Japantown to the hackathon today, I was thinking that I wished there was an easier way for me to get ready for an event.

Why can't I pull in contextual info on my phone and generate an AI result of helpful notes to help me with stuff when I get to my event?

What it does

Using the notes field in the iPhone Calendar event as a prompt, the iPhone app generates a result from ChatGPT each time I check it out. The result is updated each time I look. The prompt stays the same, or I could change it.

In the future, contextual info on my iPhone could be used to construct the prompt.

How we built it

Swift, SwiftUI, ChatGPT

Challenges we ran into

Time, time and time constraints.

Accomplishments that we're proud of

I have not worked with the Apple EventKit framework prior to today, but was able to find a way to make it work in a few hours.

What we learned

The Apple EventKit framework could be used to help out with a lot of everyday lifestyle issues when used along with ChatGPT.

What's next for MyCalendarAi

Expand the inputs for constructing a prompt using other fields in the Calendar .

In addition, features and frameworks native to the iPhone could be used.

Perhaps turn it into a widget so it can be readily accessible.

Built With

  • eventkit(appleframework)
  • swift
  • swiftui
Share this project:

Updates