Skip to content

AI assistant

Dreeve ships with an AI-powered workout assistant. To use it, you configure an AI provider under Settings → Integrations.

To use a cloud-based AI provider you need an API key and the name of the model you want. Configure the key in the AI_API_KEY environment variable, then pick the provider and enter the model name in the settings.

The app allows you to pre-define chat commands that can be used by the AI assistant. This is useful for questions that might be asked frequently, such as

Please analyze my most recent ride with regard to aspects such as heart rate, power (if available). Please give me an assessment of my performance level and possible improvements for future training sessions?

Each command has a name and the message it expands to. For example:

CommandMessage
analyse-last-workoutYou are my bike trainer. Please analyze my most recent ride with regard to aspects such as heart rate, power (if available). Please give me an assessment of my performance level and possible improvements for future training sessions.
compare-last-two-weeksYou are my bike trainer. Please compare my workouts and performance of the last 7 days with the 7 days before and give a short assessment.

You can then use /analyse-last-workout and /compare-last-two-weeks in your chat with the AI assistant:

Mark chat commands