Skip to content

FitBot is an advanced health-centric chatbot powered by LLMs. It seamlessly integrates with the Nutrition endpoint of API Ninjas to provide accurate nutritional data and recommendations.

Notifications You must be signed in to change notification settings

KN-Thinley/FitBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FitBot: An Advanced Health-Centric Chatbot

FitBot is an AI-driven chatbot that uses large language models (LLMs) such as GPT-4 by OpenAI. It seamlessly integrates with the Nutrition endpoint from API Ninjas, providing accurate nutritional data and personalized health recommendations.

Features

  1. Nutritional Information Retrieval: Fetches accurate nutritional data of any given food item by leveraging the Nutrition endpoint of API Ninjas.
  2. Health Calculations: Computes Basal Metabolic Rate (BMR), Total Daily Energy Expenditure (TDEE), Ideal Body Weight (IBW), and more.
  3. User-Friendly Interaction: Features a chat-like interface that is easy to use and interact with.
  4. Consistent Learning and Improvement: As the underlying model (GPT-4) continues to learn and improve, so too does FitBot.

Setup and Installation

To get FitBot up and running, follow these steps:

  1. Clone the Repository

    git clone https://github.com/[YourUsername]/FitBot.git
    cd FitBot
    
  2. Setup Virtual Environment (Optional)

    It's recommended to create a virtual environment to keep the dependencies required by this project separate.

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
    
  3. Install Dependencies

    Install the required packages using pip:

    pip install -r requirements.txt
    
  4. Run the Project

    You're all set! Run the project with:

    python run_chatbot.py
    

Usage

Once the chatbot is up and running, you can start asking queries. Here's an example of how to interact with it:

What is the TDEE of a 30-year-old man, who is 180 cm tall, weighs 80 kg, and exercises 3 times a week?

FitBot will generate a meal plan based on the information provided and also inform the person's BMI.

Support

If you encounter any issues or have any questions about the project, feel free to open an issue on this GitHub repository.

License

FitBot is open-source software licensed under the MIT license.

About

FitBot is an advanced health-centric chatbot powered by LLMs. It seamlessly integrates with the Nutrition endpoint of API Ninjas to provide accurate nutritional data and recommendations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%