Virtual assistant with access to calendar events using Google Calendar. (Times are only in EST)
- Flask
- Open AI Python Library
- Google API Libraries
- Google OAuth 2.0 Client ID (credentials.json)
- OpenAI API key (put in .env)
- Clone this repo
git clone https://github.com/coldestEight/calendarGPT.git
-
Get Google API Key. See this guide.
-
Get OpenAI API Key
- Make an OpenAI developer account
- Generate API key
- Put in .env file like so:
OPENAI_API_KEY = <insert_your_key_here>
- Install all dependency libraries
- Flask: See this installation guide.
- OpenAI API: See this quickstart guide.
- Google API: See this quickstart guide.
Run app.py with python:
python app.py
This is to be used in a similar way to other GPT-based assistants but can handle simple questions about a user's schedule as well. getCalander.py can be tweaked to include more events if needed.
- Code blocks missing keyword highlights
- Shrink token size by reformatting event inputs
- Add support for different time zones
- Add weather API integration
- Let user add events using assistant