This is a submission for the Cloudflare AI Challenge.
What I Built
It is a smart running coach. It will take a distance and minutes and Build well structured a training plan to run the entered distance in the desired minutes by the end of the last week of the training plan.
It will include speed work, tempo runs, and long runs in the plan as suggested by experts.
Additionally, you can save a plan and update your progress on them
Demo
My Code
https://github.com/jesusantguerrero/running-coach
Journey
One of my main hobbies is running, I've been training and participating in local 5k races for a couple of years now and I am always looking for training plans to improve my record.
I went through the documentation on workers and pages and followed the instructions to do the project, which was pretty straightforward.
I went to the Model playground to test and modify the prompt until I got the output structure I had in mind.
What model do I use?
@cf/meta/llama-2-7b-chat-int8
What I learned?
- To create Cloudflare Pages and Workers and to add bindings.
- Even though I just used one I explored multiple models and tried its capabilities as well as how to use @cloudflare/ai package
What's next?
- Allow users to store plans online using a DB
- Train the AI to obtain better plans and take more user inputs like the current pace.
- Add more widgets.
Thanks for reading and have a nice day.
Top comments (1)
Whether you're training solo or as part of a Run Club, Neat Coach helps you stay on track and improve performance. It's easy to use and offers smart, tailored advice to meet your running goals efficiently