AI THERAPIST CHATBOT (SafeSapace AI)
Access barriers and delays in receiving mental-health care have generated interest in digital conversational agents that can provide low-intensity, on-demand support. This paper presents SafeSpace AI, afull-stack mental-wellness support prototype combining a React web application, a Node.js, Express API, MongoDB and weighted linear support vector classifierfor intent and logistic regression for emotion,mapsintent-emotion pairs to severity labels and selects aresponse from a curated synthetic response bank. Keyword rules provide intent hints and a separatecrisis-indicator path returns signposting information. Theapplication also supports mood logging, wellness activities, voice input/output through browser APIs andaccount-linked conversation history. The included CSVcontains 600 examples across 12 intent classes, 8 emotionclasses and 3 dataset severity labels. The largest intent class contains 64 examples and the smallest 43, 403examples are labeled moderate severity. These counts describe the data only. The repository’s training script prints accuracy from a random 80:20 split, but fits the TF-IDF vectorizer before splitting and does not stratifythe split, no locked external test set, retained evaluationreport or clinical study results are supplied. Consequently, no reliable accuracy, safety, usability or clinical-effiectiveness claim can be made from the current project. The paper documents the implementation, compares it with published conversational-agent studies and purposes a leakage-resistant, human-reviewedevaluation plan. SafeSpace AI should be treated as aneducational prototype and not as a substitute for licensedcare or emergency services.
Authors
- Navpreet Singh
- Navreet Kaur
- Shabad Kaur
- Niraj Kumar
- Navneet Kumar
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24744598
- Primary Topic
- Digital Mental Health Interventions
- Type
- preprint