Skip to content

HealthPal is an intelligent healthcare application designed to track, monitor, and enhance personal health. By leveraging AI-driven recommendations and user data, HealthPal provides personalized insights into various health aspects, including sleep, weight changes, mood tracking, and activity monitoring.

Notifications You must be signed in to change notification settings

kavanatn/HealthPalAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

HealthPal πŸŒΏπŸ’™

HealthPal Logo

Your AI-Powered Health Companion

πŸ“Œ Overview

HealthPal is an intelligent healthcare application designed to track, monitor, and enhance personal health. By leveraging AI-driven recommendations and structured user data, HealthPal provides personalized insights into key health aspects such as sleep, weight changes, mood tracking, and activity monitoring.

HealthPal uses Mistral AI to generate personalized health advice based on user-input data collected through a dynamic Health Questionnaire. Generated insights are securely stored in a database and refreshed whenever new recommendations are requested.

The platform features a comprehensive Dashboard for progress tracking and an integrated AI Chatbot that offers real-time health guidance and answers health-related queries.


❓ Why HealthPal?

Personal health data is often scattered across multiple tools and tracked inconsistently. HealthPal centralizes health inputs and applies AI to transform raw data into meaningful, personalized insights.

This project focuses on:

  • Practical AI integration beyond basic chatbot use cases
  • Secure handling of sensitive user data
  • Building a scalable, full-stack health application with real-world relevance

πŸš€ Features

  • πŸ” User Authentication: Secure sign-up and sign-in.
  • πŸ“ Health Questionnaire: Collects user health data.
  • πŸ€– AI Recommendations: Provides personalized health advice using Mistral AI.
  • πŸ“Š Health Tracking: Monitors weight, sleep, activity, and mood changes.
  • πŸ’Ύ Health Records: Stores and updates user health data.
  • πŸ“‹ Dashboard: Displays health progress and insights.
  • πŸ’¬ AI Chatbot: Real-time health guidance and instant responses to health queries.
  • πŸ“° Blogs Section: Offers health-related articles and tips.
  • βš™οΈ Settings: Allows customization of user preferences.

πŸ’¬ AI Chatbot Integration

The HealthPal AI Chatbot is designed to provide real-time health insights and answer health-related queries instantly.

Capabilities of HealthPal AI Chatbot:

  • 🩺 General health, fitness, and wellness guidance
  • πŸ’Š Medication and supplement information (general guidance)
  • 🍎 Diet and nutrition suggestions
  • πŸ’€ Sleep improvement tips
  • πŸ’» 24/7 availability for user queries

The chatbot utilizes Mistral AI to understand user inputs and generate appropriate health recommendations.


πŸ—οΈ Technology Stack

Frontend

HTML CSS JavaScript

Backend

Python Flask

Database

SQLite

AI Integration

Mistral AI


πŸ“Š User Flow

  1. User Registration / Login
  2. Health Questionnaire Submission
  3. AI Recommendation Generation (Mistral AI API)
  4. Dashboard Access & Health Metrics Visualization
  5. Health Records Management
  6. AI Chatbot Interaction
  7. Recommendation History Storage
  8. Blogs & Health Resources Access

πŸ’» Application Screenshots

Login

Image

Dashboard: Health Metrics Visualization

Image

AI Chatbot Interface

Image

Recommendations

Image

Blogs

Image

Profile settings

Image


πŸ› οΈ Setup & Installation

  1. Clone the repository:
git clone https://github.com/kavanatn/HealthPalAI.git
  1. Navigate to the project directory:
cd HealthPalAI-main
  1. Set up Python Environment (optional but recommended):
python -m venv venv
source venv/bin/activate  # On macOS/Linux
venv\Scripts\activate  # On Windows
  1. Install dependencies:
pip install -r requirements.txt
  1. Configure environment variables:
# Copy the example environment file
copy .env.example .env  # Windows
# OR
cp .env.example .env    # Linux/Mac
  1. Add your Mistral AI API key:

    • Open the .env file
    • Replace your-mistral-api-key-here with your actual Mistral AI API key
    • (Optional) Generate a secure SECRET_KEY:
      python -c "import secrets; print(secrets.token_hex(32))"
  2. Run the Flask application:

python app.py
  1. Access the application:

Security Note: Your API keys are now safely stored in the .env file, which is automatically excluded from Git commits.


πŸ’¬ How to Use the AI Chatbot

  1. Navigate to the Chatbot section.
  2. Enter your health-related query.
  3. Receive AI-generated guidance instantly.
  4. Supported queries include:
    • Diet Plans
    • Workout Routines
    • Sleep Patterns
    • Medication Advice
    • General Health Queries

⚠️ Disclaimer

HealthPal is an educational and experimental project. AI-generated insights are not a substitute for professional medical advice. Users should consult qualified healthcare professionals for medical decisions.


πŸ’‘ Future Enhancements

  • πŸ“Š Integration with Wearable Devices for real-time health tracking.
  • πŸ“ˆ Advanced Data Analytics for better health insights.
  • πŸ“² Mobile App to enhance user accessibility.
  • πŸ‘₯ Community Forum for health discussions.
  • πŸ€– Voice Assistant Support for the AI Chatbot.

⭐ HealthPal πŸŒΏπŸ’™ – Your AI Health Companion! πŸš€πŸ’™

About

HealthPal is an intelligent healthcare application designed to track, monitor, and enhance personal health. By leveraging AI-driven recommendations and user data, HealthPal provides personalized insights into various health aspects, including sleep, weight changes, mood tracking, and activity monitoring.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published