Skip to content
Proyectos

Rogendo/Mental-health-Chatbot

Ver en GitHub

Acerca de

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 y aprendizaje automático

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

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.

Explorar proyectos relacionados

Cargando…