Creates a 4o assistant to recommend gym workouts
- Create a file called .env the contents should be: OPENAI_API_KEY=key
- Edit the prompts in create-assistant.py to your liking
- Run create-assistant.py
- Edit most-recent-workout.txt and put in your most recent workout and the date.
- Run get-response.py
- View ChatGPT_Response.HTML
Simply update most-recent-workout.txt, and then run get-response.py. The workout is saved in a conversation thread, and is constantly being updated and will stay in context of chatGPT.
8/8/2024
- Squats 225lb 5x5
- Deadlift 315lb 3x5
- Leg press 400lb 4x10
- Ran 2 miles
8/9/2024
- OHP 100lb 5x5
- Bench 200lb 5x5
- Tricep pushdown 50lb 4x10
- Pushups 3x10
- Face pulls 3x10
- Ran 2 miles