An open API service indexing awesome lists of open source software.

https://github.com/2000pawan/mental_health_chatbot

This Mental Health ChatBot uses machine learning to predict mental health conditions like Stress, Depression, Bipolar disorder, Personality disorder, or Anxiety based on user input. It then provides personalized advice to help users cope with their mental health challenges.
https://github.com/2000pawan/mental_health_chatbot

artificial-intelligence chatbot deep-learning machine-learning mental-health nlp-machine-learning python3 streamlit

Last synced: about 1 month ago
JSON representation

This Mental Health ChatBot uses machine learning to predict mental health conditions like Stress, Depression, Bipolar disorder, Personality disorder, or Anxiety based on user input. It then provides personalized advice to help users cope with their mental health challenges.

Awesome Lists containing this project

README

          

# 🧠 Mental Health ChatBot

A machine learning-powered **Mental Health ChatBot** designed to provide compassionate support and intelligent insights for individuals facing mental health challenges.
This interactive application helps users by predicting potential mental health conditions based on their text input and offering personalized coping strategies and resources.

---

## 🌟 Key Features

- 🔍 **Mental Health Condition Prediction**
Predicts the likelihood of conditions such as:
- Stress
- Depression
- Bipolar Disorder
- Personality Disorder
- Anxiety

- 💡 **Personalized Support & Advice**
Delivers helpful suggestions and coping techniques tailored to the identified condition.

- 🖥️ **User-Friendly Web Interface**
Built with **Streamlit**, allowing users to interact with the chatbot in real-time via a simple and intuitive interface.

- 🤖 **Powered by Machine Learning**
Utilizes a trained ML classification model with text vectorization to analyze input and generate predictions.

---

## ⚙️ How It Works

1. **User Input**
The user types a message describing their emotions or mental state.

2. **Prediction Engine**
The machine learning model processes the input and classifies it into one of the predefined mental health categories.

3. **Response Generator**
Based on the predicted category, the chatbot provides customized guidance and mental health tips to support the user.

---

## 🛠️ Tech Stack

- **Python** – Backend logic and ML model implementation
- **Streamlit** – Interactive web app framework
- **scikit-learn** – Machine learning model training and evaluation
- **Joblib** – Efficient model and vectorizer loading
- **PIL (Pillow)** – Image handling for UI enhancement

---

## 🚀 Getting Started

### 🔧 Installation

1. **Clone the repository**

```bash
git clone https://github.com/2000pawan/Mental_Health_ChatBot.git
cd mental-health-chatbot

2. **Install dependencies**

```bash
pip install -r requirements.txt

3. **Run the app**

```bash
streamlit run app.py

### 👤 Author
PAWAN YADAV

### 📜 License
All rights reserved © PAWAN YADAV