Spaces:
Sleeping
Sleeping
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 pointapi_mental_health.py
- Core API functionalitydata/
- Data storage directoriesmental_health_model_artifacts/
- ML model files