Spaces:
Sleeping
Sleeping
metadata
title: Medical Intent Escalation
emoji: π₯
colorFrom: blue
colorTo: red
sdk: docker
pinned: false
license: mit
app_port: 7860
Medical Intent Escalation
Real-time clinical intent classification and safety escalation API powered by DriveHealthBERT.
Endpoints
- POST /predict β Classify medical intent from text
- POST /predict/clinical β Full clinical risk assessment (R0βR3)
- POST /conversation/start β Start a clinical conversation session
- POST /conversation/turn β Process a patient turn
- POST /stream/chunk β Process streaming STT chunks with SPRT decisions
- GET /health β Health check
- GET /docs β Interactive Swagger UI
Quick Test
curl -X POST "https://YOUR-SPACE.hf.space/predict" \
-H "Content-Type: application/json" \
-d '{"text": "I have been having chest pain"}'