Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🧠 SwasthAI — Your Personal Mental Wellness Companion

SwasthAI is an intelligent, supportive, and personalized mental-health companion designed to assist individuals emotionally, psychologically, and socially.
Unlike traditional chatbots, SwasthAI adapts to the user's emotional state, supports vulnerable users with care-focused language, and alerts trusted nominees in critical situations.


🌟 Vision & Motivation

Mental health support should be:

  • Accessible
  • Non-judgmental
  • Personalized
  • Emotionally Safe

SwasthAI aims to bridge the gap between individuals and professional help by providing empathetic guidance, mood understanding, and crisis alerting.


🚀 Key Features

🧩 Adaptive Conversation

  • Detects mood and conversation tone
  • Adapts responses for:
    • Depression
    • Anxiety
    • Stress
    • Autism-spectrum users
    • General well-being

❤️ Safe & Supportive Language

  • Avoids harsh or insensitive language
  • Prioritizes comfort, empathy, and reassurance

⚠️ Crisis Detection & Alerts

  • Detects high-risk keywords (ex: suicide, hopeless, depressed, panic)
  • Automatically alerts a registered nominee (family/friend/guardian)

👤 Personalization

  • Learns user patterns
  • Context-aware chatting
  • Records emotional trends (if enabled)

🏗️ Full Stack App

  • Frontend: React
  • Backend: Node + Express
  • Database: MongoDB
  • Custom ML model for classification

🧪 Research & Innovation Component

This project is not just a UI chatbot — it includes:

  • Custom trained ML/NLP model
  • Research-backed emotional classification
  • Ethical safety design
  • Focus on Indian healthcare context (expandable globally)
  • Benchmarking against existing tools

USP: A hybrid therapeutic + safety model that blends emotional intelligence, personalization, and real-time risk intervention 🚨


🛠️ Tech Stack

Frontend

  • React
  • Tailwind / CSS

Backend

  • Node.js
  • Express.js

Database

  • MongoDB

Machine Learning

  • Text classification pipeline
  • Custom dataset + preprocessing
  • Emotional & risk state detection

📂 Project Structure


SwasthAI
├── frontend
├── backend
│   ├── models
│   ├── routes
│   ├── utils
│   ├── app.js
│   └── trainModel.js
└── README.md


⚙️ Setup Instructions

Backend Setup


cd backend
npm install
node app.js

Ensure MongoDB is running:


mongodb://127.0.0.1:27017/swasthai


Frontend Setup


cd frontend
npm install
npm start


🔐 Data Privacy & Ethics

✔ User conversations are private
✔ No sharing of sensitive data
✔ Nominee alerts triggered only during serious mental risk conditions
✔ Support tool, not a replacement for medical professionals


🧭 Roadmap

  • Improve emotional classifier accuracy
  • Add multilingual mental health support
  • Add therapist dashboard
  • Mobile application
  • Compliance with mental health guidelines

🤝 Contributors

  • Rohit Kumar
  • Team Members

📜 Disclaimer

SwasthAI is a support tool — it does not replace professional mental health therapy.
If someone is in immediate danger, they should contact emergency services.


⭐ Support

If you like this project, star the repo and help improve mental wellness tech!

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages