File size: 991 Bytes
8e66145
6ca0914
 
8242927
 
8e66145
8242927
8e66145
 
 
6ca0914
 
8242927
6ca0914
 
 
8242927
 
 
 
 
 
 
 
 
 
6ca0914
 
 
 
 
 
 
 
8242927
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
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