CoolFace
Apppublic

Aviral3/risa_pa_tree

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
README.md33 linesDownload Raw Back to root
1---2title: Risa Pa Tree3emoji: ๐Ÿฅ4colorFrom: blue5colorTo: green6sdk: docker7app_port: 78608pinned: false9short_description: PA workflow capture backend for the RISA Chrome extension.10---11 12# RISA PA Question Tree โ€” Backend13 14FastAPI + asyncpg backend for the RISA Chrome extension. Captures payer-portal Prior Authorization questions, options, and selections into per-(payer ร— specialty) trees. Backed by Neon Postgres.15 16This Space hosts the backend only. The dashboard runs on the admin's laptop and pulls data over HTTPS.17 18## Required Space secrets19 20Set in **Settings โ†’ Variables and secrets**:21 22| Variable | What |23|---|---|24| `DATABASE_URL` | Neon Postgres connection string |25| `ANTHROPIC_API_KEY` | Claude API key (screenshot OCR + portal classifier) |26| `ADMIN_KEY` | Token for `/admin/employees` seeding |27| `JWT_SECRET` | `openssl rand -hex 32` |28| `ENV` | `development` (variable, not secret) |29 30## Cold-start behavior31 32Free CPU Basic Spaces sleep after ~48 hours of zero traffic and wake on first request (~30 s). Captured data lives in Neon, not the Space โ€” sleeping never loses anything.33