Skip to content

supriya0415/HealthChatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

🩺 HealthChatbot

A simple AI-powered health assistance chatbot built using Python. It interacts with users, collects symptoms, and gives preliminary health suggestions. This project is intended for learning and academic purposes.


📌 Overview

HealthChatbot is a Python-based conversational system that allows users to input symptoms or health-related queries. The chatbot analyzes the input using predefined logic (or dataset, if added) and provides helpful guidance.

This project demonstrates:

  • Basic Natural Language Processing (NLP)
  • Conversational logic
  • Symptom-based suggestion system
  • User interaction through a console/terminal

🚀 Features

✔️ Interactive text-based chatbot ✔️ Accepts health symptoms as input ✔️ Provides possible conditions or suggestions ✔️ Rule-based/keyword-based health guidance ✔️ Easy to extend with more data or AI models ✔️ Beginner-friendly Python structure


🛠️ Tech Stack

  • Python 3.x
  • (Optional) NLTK / sklearn / pandas (depending on your code)
  • Simple rule-based chatbot logic

📁 Project Structure

HealthChatbot/
│
├── healthchatbot.py                  # Main chatbot script
├── env/                       
├── gitignore/                      
├── requirements.txt            
├── README.md                  
└── ...                         

📥 Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/supriya0415/HealthChatbot.git
cd HealthChatbot

2️⃣ Create Virtual Environment

python -m venv venv

Activate it:

  • Windows

    venv\Scripts\activate
  • Mac/Linux

    source venv/bin/activate

3️⃣ Install Dependencies

(Only if you have a requirements.txt file)

pip install -r requirements.txt

▶️ How to Run the Chatbot

Simply run the main Python script:

python chatbot.py

The chatbot will start in your terminal. Type your symptoms or questions and get instant replies.


🧠 How It Works

The chatbot uses:

  • Keyword-matching
  • Rule-based response generation
  • Basic NLP preprocessing (if included)

You can easily expand it by:

  • Adding more symptoms/responses
  • Integrating Machine Learning models
  • Adding a web or mobile UI

⚠️ Disclaimer

This chatbot is NOT a medical professional. It only gives basic health suggestions for educational purposes.

For real medical issues, always consult a certified doctor.


🌟 Future Improvements

  • Add symptom-condition dataset
  • Add ML-based prediction (Naive Bayes, SVM, etc.)
  • Add a web UI using Flask or React
  • Add voice input/output
  • Add user profile & history tracking

🤝 Contributing

Contributions are welcome! You can:

  • Submit issues
  • Suggest features
  • Create pull requests

❤️ Author

Developed by Supriya Yadav Feel free to reach out for improvements or collaboration.

Releases

No releases published

Packages

 
 
 

Contributors

Languages