Fitness GPT Bot

This is a Telegram bot written in python that uses the OpenAI API to generate a workout and diet plan based off of the users input with "text-davinci-003" model. The Telegram bot uses a step based approach to the conversation and includes buttons on some of the prompts.

Image Image

Telegram and OpenAI

Engineering Project

What I did

  • Created a Telegram bot with automated commands
  • Gathered input through Telegram bot API
  • Generated prompt using python
  • Used OpenAI to come up with a gym routine and meal plan based on the users inputs

What You Need

  • Install telebot and openai libraries
  • Create your own Telegram bot by messaging the "BotFather" on Telegram
  • Replace the Telegram and OpenAI API tokens with your own (You will need a paid OpenAI account)

Visit Github