thera-guide-ai / README.md
Said Lfagrouche
Prepare for Hugging Face Spaces deployment with simplified configuration
8242927
metadata
title: Mental Health Counselor API
emoji: 🧠
colorFrom: indigo
colorTo: purple
sdk: docker
app_port: 7860
pinned: false

Mental Health Counselor API

This is the backend API for a mental health counseling application. It provides endpoints for analyzing patient messages, suggesting counselor responses, and managing counseling sessions.

API Endpoints

  • / - Root endpoint showing API status
  • /health - Health check endpoint
  • /metadata - API metadata and information

Technology Stack

  • FastAPI framework
  • Scikit-Learn based ML models
  • NLTK for NLP processing
  • Vector database for semantic search

Deployment

This API is deployed on Hugging Face Spaces using Docker.

Frontend

The frontend for this application is deployed separately on Vercel.

Repository Structure

  • app.py - Main application entry point
  • api_mental_health.py - Core API functionality
  • data/ - Data storage directories
  • mental_health_model_artifacts/ - ML model files