AI & prompts
Manage the model and the system prompt for each AI task. Changes are stored in the database and take effect immediately — no redeploy. Every call routes through the authenticated Cloudflare AI Gateway, with a deterministic fallback.
Gateway model (provider/model — e.g.
anthropic/claude-sonnet-4-6 or openai/gpt-4.1) gateway: …
Auditor-note parser — system prompt
Task: parse a desk-audit note → reason codes + disputed line items (JSON).
Next-best-action — system prompt
Task: 2–3 sentence recommended move for an estimate, given ball-in-court + aging.