Spaces:
Running
Running
|
Download README.md from DriveHealth/DCE: direct link, hf CLI and curl.
- Browser
- Download file 863 Bytes
-
https://huggingface.co/spaces/DriveHealth/DCE/resolve/main/README.md
- Command line
-
hf download hf://spaces/DriveHealth/DCE/README.md
-
curl -L -o README.md https://huggingface.co/spaces/DriveHealth/DCE/resolve/main/README.md
863 Bytes
| 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"}' | |
| ``` | |