Serving Openmed REST API

Stand up OpenMed's FastAPI REST service for clinical NER, PII extraction, and de-identification, with health checks, model keep-alive/unload, optional dynamic batching, and no-PHI logging. Use when the user wants to serve OpenMed over HTTP, deploy a de-id/NER REST API, run an inference endpoint for clinical text, add a /analyze or /pii/deidentify route, or containerize OpenMed as a service. Covers the service extra, launching create_app with uvicorn, the real endpoints (/health, /analyze, /pii/extract, /pii/deidentify, /models/loaded, /models/unload), request/response shapes, ServiceRuntime env-var configuration, and self-hosted auth/CORS/TLS notes.

maziyarpanahi 6cb5bd4 8.2 KB Updated

File contents

maziyarpanahi/openmed/tree/main/skills/serving-openmed-rest-api commit 6cb5bd4062

Frequently asked questions

npx skillmds@latest add maziyarpanahi/serving-openmed-rest-api