Spaces:
Sleeping
Sleeping
File size: 863 Bytes
8309405 af61b34 8309405 af61b34 8309405 af61b34 | 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 | ---
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
```bash
curl -X POST "https://YOUR-SPACE.hf.space/predict" \
-H "Content-Type: application/json" \
-d '{"text": "I have been having chest pain"}'
```
|