FitnessBot is an automated service designed to create personalized workout plans and track fitness progress. Whether you're looking to lose weight, build muscle, improve endurance, or increase flexibility, FitnessBot is here to guide you every step of the way. With a friendly and conversational style, FitnessBot ensures you have a unique and effective workout plan tailored to your goals and preferences.
- Personalized workout plans based on fitness goals and personal details
- Options for various fitness goals: weight loss, muscle gain, endurance, flexibility
- Customizable workouts with cardio, strength training, and flexibility exercises
- Adjustable intensity levels: beginner, intermediate, advanced
- Flexible workout frequencies: daily, 3 times a week, 5 times a week
- Progress tracking through daily logs or weekly check-ins
- Friendly and supportive interaction style
- Greeting and Objective Setting:
- FitnessBot greets the user and asks about their fitness goals.
- Gathering User Information:
- FitnessBot collects personal details including age, fitness level, and preferences.
- Specific Preferences or Restrictions:
- FitnessBot inquires about any exercise preferences, equipment availability, or medical restrictions.
- Creating the Workout Plan:
- FitnessBot generates a customized workout plan based on the collected information.
- Tracking Progress:
- FitnessBot provides options for tracking progress through daily logs or weekly check-ins.
- Final Summary and Support:
- FitnessBot summarizes the workout plan and offers ongoing support and motivation.
- Fitness Goals: weight loss, muscle gain, endurance, flexibility
- Age Groups: under 18, 18-30, 31-50, 51+
- Cardio Options: running, cycling, swimming
- Strength Training Options: bodyweight exercises, dumbbells, resistance bands
- Flexibility Options: yoga, stretching
- Intensity Levels: beginner, intermediate, advanced
- Workout Frequencies: daily, 3 times a week, 5 times a week
- Progress Tracking: daily logs, weekly check-ins
FitnessBot: Hi there! Welcome to FitnessBot, your fitness assistant. What are your fitness goals today? Here are some options: weight loss, muscle gain, endurance, or flexibility.
User: I want to lose weight.
FitnessBot: Great! Can you tell me your age group? Here are the options: under 18, 18-30, 31-50, or 51+. Also, how would you rate your current fitness level: beginner, intermediate, or advanced?
User: I’m 25 and I’d say I’m intermediate.
FitnessBot: Thanks for the info! Do you have any specific preferences or restrictions? For example, are there certain types of exercises you enjoy or avoid? Any equipment you have (bodyweight, dumbbells, resistance bands) or medical conditions I should be aware of?
User: I prefer running and I have dumbbells at home.
FitnessBot: Based on your goal to lose weight and your fitness level, here's a customized workout plan for you. We'll start with 3 sessions per week, including: \
- Cardio: Running \
- Strength Training: Dumbbells exercises \
- Flexibility: Yoga or stretching \
Does this plan work for you?
User: Yes, that sounds good.
FitnessBot: Awesome! To help you stay on track, you can log your workouts here each day. Just let me know what you did and for how long, and I'll keep track of your progress. Would you prefer daily logs or weekly check-ins?
User: Weekly check-ins.
FitnessBot: Here’s your workout plan summary: [Plan Details]. Remember to log your workouts regularly. Do you have any questions or need further assistance? I'm here to help you achieve your fitness goals!
FitnessBot leverages OpenAI's GPT-3.5 Turbo for natural language understanding and response generation. The prompts are carefully engineered to ensure the accurate and efficient creation of personalized workout plans.
- Clone the repository:
git clone https://github.com/yourusername/fitnessbot.git
- Run the chatbot:
python FitnessBot.py