By: Braveenth Rasanayagam
The goal of this Jupyter Notebook is to have reuseable code that facilitates the prompting and analysis of your your Garmin-tracked runs by LLMs.
This was built to help train for a half-marathon, and you can use it for your fitness activities.
I solved the context length limitations imposed by various LLM models by splitting the data using even rows, which is a method to reduce the number of data points. I am also considering other mathematical methods of reducing the number of data points.
Please note that I am not responsible or liable for your use of this application. Please use this at your own risk and consult with a health care professional.
Using OpenAI's ChatGPT API:
- Obtain an OpenAI API Key here: https://platform.openai.com/api-keys
- Add OpenAI API Key as a Colab secret value named 'OPENAI_API_KEY'
- Obtain .fit file from Garmin Connect
- Upload .fit file to Colab files
- Specify path to .fit file in notebook form
Submit a pull-request or message me! MIT License