This project is a personalized learning schedule generator that utilizes OpenAI's GPT-3 to create a custom learning schedule for a specific learning goal, skill level, and duration. It also integrates with Google Calendar to automatically create and share a public calendar with the generated schedule.
- Generate personalized learning schedules for specific learning goals.
- Consider skill level and the number of days for the schedule.
- Create daily tasks with detailed explanations and provide URLs for each task.
- Automatically generate Google Calendar events for the schedule.
- Share a public Google Calendar with the generated schedule.
A live demo of this project is available at Demo Link.
To run this project locally or deploy it on your server, follow these steps:
-
Clone the repository:
git clone https://github.com/arnitxvansh/HACKRPI23.git cd HACKRPI23
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up your environment variables:
Obtain an OpenAI API key and set it as an environment variable OPENAI_API_KEY. Provide the path to your Google Calendar API credentials JSON file as an environment variable GOOGLE_CALENDAR_CREDENTIALS.
-
Run the Flask application:
python app.py
-
Access the application in your web browser at http://localhost:5000.
In addition to the command-line version, we also offer a user-friendly Graphical User Interface (GUI) for creating personalized learning schedules. The GUI version makes it even easier to generate schedules and manage your calendar events.
To access the GUI version:
- Download the CodeGUI.exe file.
- Set up your environment variables: Enter your OpenAI API Key in the program and select the folder where your Google Calendar API credentials JSON file is located.
- Run it and enjoy!
Fill out the input form on the application's homepage with the following details:
Learning goal (e.g., "Python programming"). Skill level (e.g., "Intermediate"). Number of days for the learning schedule. Your timezone. Click the "Generate Schedule" button.
The application will use GPT-3 to generate a personalized learning schedule based on your input.
Google Calendar events will be automatically created in a shared public calendar.
You will receive a link to the shared calendar to access your generated schedule.
This project is licensed under the MIT License - see the LICENSE file for details.