Skip to content

giancarmine07/Django-OpenApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Mental Health Chatbot

Italiano

  • Chatbot Django per supporto salute mentale: risposte empatiche e di orientamento (in inglese).
  • Il modello utilizzato è gpt-3.5-turbo e il fine-tuning è realizzato con dataset huggingface.
  • Usa modelli NLP OpenAI (base o fine-tuned) e dataset Hugging Face (mental_health_counseling).
  • Fasi: preparazione dati JSONL e fine-tuning opzionale; integrazione web realtime con interfaccia chat.
  • Tecnologie: Django, OpenAI API, Jupyter Notebook, Hugging Face Datasets.
  • Sicurezza: variabili in .env (API key, modello); nessuna diagnosi medica, solo supporto informativo.
  • Prerequisiti: Python 3.10+, chiave OpenAI, virtualenv.
  • Setup e Avvio:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver

http://127.0.0.1:8000

  • Configurazione .env: OPENAI_API_KEY=... (opzionale OPENAI_MODEL=ft:... per modello fine-tuned).

English

  • Django chatbot for mental health support: empathetic and guidance-oriented responses (in English).
  • Uses gpt-3.5-turbo model with optional fine-tuning on Hugging Face dataset.
  • Leverages OpenAI NLP models (base or fine-tuned) and Hugging Face (mental_health_counseling) dataset.
  • Phases: JSONL data preparation and optional fine-tuning; real-time web integration with chat interface.
  • Technologies: Django, OpenAI API, Jupyter Notebook, Hugging Face Datasets.
  • Security: variables in .env (API key, model); no medical diagnosis, informational support only.
  • Prerequisites: Python 3.10+, OpenAI API key, virtualenv.
  • Setup and Run:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver

http://127.0.0.1:8000

  • Configuration .env: OPENAI_API_KEY=... (optional OPENAI_MODEL=ft:... for fine-tuned model).

About

Django chatbot for mental health support with fine-tuning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors