Lucs1590 / strava-to-trainingpeaks

This is a simple script that will download your activities from Strava and upload them to TrainingPeaks in assisted mode.
MIT License
1 stars 0 forks source link

Add LLM Analysis #4

Open Lucs1590 opened 2 months ago

Lucs1590 commented 2 months ago

Description

The idea is that after converting the file to be exported to training peaks, ask the athlete if he wants to have feedback from an LLM (GPT4 or SportBERT) regarding the training performed. At first I would send the entire tcx file, but the number of tokens would be very high and the service would be very expensive. Therefore, the idea is to summarize by points (as in the medium article) and send this in the prompt for LLM to analyze. If the user chooses that he wants to have the LLM analysis, add the question "was there anything planned for this training?" so that this will also enrich the prompt.

TO-DO

Prompt

Based on the following data that is related to a {sport} training session, carry out an analysis highlighting positive points, where the athlete did well and where he did poorly and what he can do to improve in the next {sport}.

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Resources

github-actions[bot] commented 2 months ago

Thanks for contributing this issue! We will be replying soon.

Lucs1590 commented 2 months ago