Spaces:
Sleeping
Sleeping
|
Download README.md from DerXanity/farient-deckcheck: direct link, hf CLI and curl.
- Browser
- Download file 1.94 kB
-
https://huggingface.co/spaces/DerXanity/farient-deckcheck/resolve/main/README.md
- Command line
-
hf download hf://spaces/DerXanity/farient-deckcheck/README.md
-
curl -L -o README.md https://huggingface.co/spaces/DerXanity/farient-deckcheck/resolve/main/README.md
1.94 kB
metadata
title: Farient DeckCheck API
emoji: π
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 8000
pinned: false
short_description: AI-powered brand-compliance review for executive decks.
Farient DeckCheck β API
FastAPI backend for the DeckCheck multi-agent audit pipeline.
Endpoints
POST /api/auditsβ upload a.pptx, get ajob_idGET /api/auditsβ list auditsGET /api/audits/{job_id}β poll statusGET /api/audits/{job_id}/eventsβ Server-Sent Events streamGET /api/audits/{job_id}/slidesβ slides + findingsGET /api/audits/{job_id}/slides/{n}/imageβ rendered slide PNGGET /api/audits/{job_id}/export?fmt=md|json|pdf|pptxβ exportDELETE /api/audits/{job_id}β cancel + removeGET /healthβ liveness probeGET /health/preflightβ environment readiness checks
Required environment variables (set in Space settings)
| Var | Purpose | Required |
|---|---|---|
OPENAI_API_KEY |
OpenAI API access | β |
WEB_ORIGINS |
CORS allowlist, comma-separated origins (e.g. your Vercel URL) | β |
OPENAI_MODEL_SLIDE |
Per-slide reviewer model (default gpt-4o-mini) |
optional |
OPENAI_MODEL_DECK |
Deck consistency model (default gpt-4o) |
optional |
OPENAI_MODEL_MERGE |
Lead auditor merge model (default gpt-4o) |
optional |
OPENAI_REVIEW_CONCURRENCY |
Per-slide review concurrency (default 2) |
optional |
MAX_UPLOAD_MB |
Upload size cap (default 60) |
optional |
Architecture
Pipeline: parse β render (LibreOffice, headless) β review (per-slide
single-shot gpt-4o-mini with deterministic safety-net injection) β
deck consistency (gpt-4o) β lead auditor merge (gpt-4o) β finalize.
Realtime UX via SSE. Job state persists at /tmp/audits/{job_id}/ during
the Space's container lifetime.
Frontend: separate Next.js app deployed to Vercel that talks to this API.