Spaces:
Running
Running
Commit History
-
Upload folder using huggingface_hub
Verified signature2ca978c
-
feat: integrate MLflow model registry, DagsHub metrics tracking, and local Grafana observability stack
Saibalaji Namburi85bb85c
-
feat(k8s): deploy api to kind multinode cluster and verify with adversarial red-teaming simulator
Saibalaji Namburi5553f71
-
feat(phase10): FastAPI REST API + Dockerfile + SSE streaming
Saibalaji Namburi- src/api/main.py: FastAPI app factory, lifespan, CORS, security headers, structlog middleware, rate limiting (slowapi), global exception handler - src/api/auth.py: JWT authentication, tenant_id extraction, RBAC (require_role) - src/api/models.py: Pydantic v2 API request/response schemas (7 models) - src/api/store.py: In-memory triage store (Supabase PostgreSQL drop-in for Phase 12) - src/api/routers/triage.py: POST/GET /triage, HITL resume, tenant isolation - src/api/routers/health.py: Kubernetes liveness (/health) + readiness (/ready) probes - src/api/routers/stream.py: SSE real-time triage progress stream - src/api/routers/metrics.py: Prometheus metrics (counters + histograms) - Dockerfile: Multi-stage build, non-root user, JDK for PySpark, HEALTHCHECK - Dockerfile.hf: Lightweight HF Spaces image (port 7860, no PySpark) - tests/unit/test_phase10_api.py: 20 tests — all passing Routes: POST /triage, GET /triage, GET /triage/{id}, POST /triage/{id}/resume, GET /triage/{id}/s…8ce332b