Skip to content
Projets

Rogendo/Mental-health-Chatbot

Voir sur GitHub

À propos

This is a MULTILINGUAL bot designed to provide emotional support and assistance to individuals struggling with mental health issues. It can help individuals access mental health resources, offer guidance and support. With the integration of Language translation, this chatbot will be very efficient as it will be able to break the language barriers

IA et apprentissage automatique

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

psychAI

psychAI is a Flask-based mental wellbeing platform with GPT-powered supportive chat, mood check-ins, quick grounding prompts, a breathing reset, and crisis resource surfacing.

It is designed for reflection and coping support, not diagnosis or emergency care. If someone may be in immediate danger, they should contact local emergency services or a crisis line right away.

Model choice

The app defaults to gpt-5.2 for the main wellbeing coach because OpenAI's current model catalog lists GPT-5.2 as a featured frontier model recommended for demanding production work. It also defines gpt-5-nano as the fast, low-cost model slot for lightweight classification or routing work.

You can override either model without code changes:

$env:PSYCHAI_MODEL="gpt-5.2"
$env:PSYCHAI_FAST_MODEL="gpt-5-nano"

Run locally

python -m venv venv
.\venv\Scripts\Activate.ps1
pip install -r requirements.txt
$env:OPENAI_API_KEY="your_api_key_here"
flask --app app --debug run

Then open http://127.0.0.1:5000.

If OPENAI_API_KEY is not set, psychAI still runs with a local fallback response so the UI can be developed and reviewed.

Key routes

  • GET / renders the psychAI platform.
  • POST /api/chat returns a GPT-backed wellbeing response.
  • GET /api/config returns model and API readiness metadata.
  • GET /get?msg=... preserves the older chatbot route for compatibility.

Explorer des projets similaires

Chargement…