SAHAI — Mental Health & Lifestyle Platform
Smart India Hackathon 2025 National Participant
01_MISSION_OBJECTIVE_AND_CONTEXT
> Mission Objective
Built a full-stack mental health platform with real-time chat, appointment booking, and community discussion forums. Designed RAG-powered services backed by Pinecone vector database. Built scalable backend services supporting multiple concurrent features.
> Problem Statement
Accessing reliable, contextual mental wellness resources and therapist appointment systems is often slow, disjointed, and lacks immediate support.
02_ENGINEERED_SYSTEM_AND_ARCHITECTURE
> Implemented Solution
Engineered a wellness platform using Django and FastAPI. Integrated a Pinecone-backed retrieval-augmented generation (RAG) assistant for instant support and configured WebSockets to handle real-time chat rooms between users and therapists.
> Architectural Design Schematic
React Frontend -> FastAPI (RAG Agent) & Django (Core App) -> Pinecone Vector Store & MySQL Database.
03_OPERATIONAL_CHALLENGES_LOGGED
- Handling multiple concurrent chat room WebSocket connections without degrading backend performance.
- Structuring prompt templates to prevent the RAG LLM from hallucinating medical claims.
04_METRICS_AND_DEBRIEFING_ANALYTICS
> Mission Results
- Selected as a National Participant in the Smart India Hackathon 2025.
- Supported real-time therapist scheduling, community forums, and a sub-second response wellness AI chat.
> Engineering Lessons Learned
- WebSockets require resilient connection lifecycle handlers to prevent resource leakage on client disconnections.
- Pinecone vector search latency is heavily dependent on embedding chunk sizes; optimized chunking is crucial.
05_LINKED_GITHUB_REPOSITORY_DOSSIER
- Vector Similarity Search
- Retrieval-Augmented Generation (RAG)
- Real-Time Bidirectional Comms
- Polyglot Tech Stack Ingestion
- High-Dimensional Vector Spaces
- Extensive System Documentation
> Live README.md Documentation
🌿 Sahai – AI-Powered Mental Health & Lifestyle Ecosystem
Sahai is an AI-driven mental health and lifestyle platform designed to support college students in building resilience, improving well-being, and fostering community. It goes beyond being “just a chatbot” — Sahai integrates personalized AI therapy-like conversations, lifestyle tracking, peer communities, and professional counseling into a single ecosystem.
🚀 Features
Core AI Support
AI Chatbot (Fine-tuned + RAG) – Context-aware, safe responses trained on mental health resources.
System Prompts & Personality Layer – Empathetic, student-friendly tone.
RAG Pipeline – Integrates curated mental health documentation via FAISS vector search for accurate, evidence-based answers.
Lifestyle & Well-being
Mood Tracker – Students log daily emotions, visualized over time.
PHQ-9 & Standardized Tests – Assess mental health levels with clinical questionnaires.
Healthy Hobbies & Meetups – Gamified system to push students towards fitness, journaling, and real-world connections.
Community Layer
Peer Support Forum – Anonymous, moderated space for sharing experiences.
College Circles – Institution-specific communities for students to connect.
Event & Meetup Organizer – Enables gym groups, runs, or workshops inspired by Decathlon-style community events.
Professional & Admin Tools
Counselor Booking System – Seamless scheduling with licensed professionals.
College Admin Dashboard – Aggregate insights on student wellness (anonymous + privacy-first).
Crisis Escalation – Route at-risk cases to emergency contacts or counselors.
🏗️ Tech Stack
Backend
FastAPI / Django – Hybrid backend for scalable API + authentication.
PostgreSQL – Relational database for user data, mood logs, posts, and events.
Redis – Caching + async job management.
JWT Auth – Secure login with role-based access (students, counselors, admins).
AI Layer
LLMs (OpenAI/Hugging Face models) – Fine-tuned for conversational empathy.
LoRA Fine-Tuning – Efficient adaptation of base models for mental health tone.
RAG Pipeline – FAISS-powered semantic search over curated mental health docs.
System Prompts – Enforcing ethical guidelines & student-friendly tone.
Frontend
React + Vite – Lightning-fast, modular UI.
TailwindCSS – Clean, modern styling.
WebSockets – Real-time chat and live counselor interactions.
DevOps
Docker – Containerized deployment.
NGINX + Gunicorn/Uvicorn – Production-ready API hosting.
CI/CD (GitHub Actions) – Automated testing & deployments.
💡 Vision: Mental Health as a Lifestyle
Sahai isn’t just therapy-on-demand. We address mental health as a lifestyle issue for students: balancing academics, social life, fitness, and growth. By blending AI support, self-tracking, peer connections, and real-world meetups, Sahai builds an ecosystem where better mental health = better life outcomes.
💰 Revenue Model
SaaS for Colleges – Subscription packages for institutions (dashboard, reports, counselor integration).
Premium Students Plans – Unlock advanced mood analytics, journaling AI, and curated meetups.
Counselor Marketplace – Commission on paid counseling sessions.
Partnerships – Fitness brands, book clubs, wellness companies.
⚡ Quickstart
1. Clone Repo
MISSION_METADATA
TECHNOLOGY_INVENTORY
Secure integration path for ORACLE system analytics. Connects real-time compiler telemetry and AI metrics evaluation on this build.
Milestone tracking datastream for operational deployments. Maps historical project milestones, commit frequency, and release paths.
Candidate alignment report panel. Matches project challenges and achievements against targeted job skills matrices.