DEV Community

Cover image for Introducing NeatCoach.ai: A running Plan Generator
Jesus Guerrero
Jesus Guerrero

Posted on

1

Introducing NeatCoach.ai: A running Plan Generator

NeatCoach

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

https://neatcoach.pages.dev/

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.

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (1)

Collapse
 
liana_james_abf344ce4a355 profile image
Liana James

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

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay