Proposal
From QuickSight to AI-generated dashboards, in 90 days
First understand and agree on metrics; then build the layer with evals; only then migrate, with QuickSight in parallel. Nothing is switched off until the new dashboard gives the same numbers.
Phase 1Days 1–30
Understand and agree
Before writing code: know which dashboards matter and what each number means.
- Inventory of QuickSight dashboards and the 5 clients use most.
- Metric glossary per standard: what exactly “verified hectare” means for EUDR, ISCC, 45Z…
- Map QuickSight field → semantic metric, flagging calcs that average ratios today.
- Data survey: what lives in Mongo vs Postgres, freshness and gaps.
- Initial golden set of 50+ real questions (support, sales, clients) with expected answers.
- First workspace: EUDR compliance (obligations apply from 30 Dec 2026).
Gate: Glossary signed off by BI and product. No agreed metrics, no build.
Phase 2Days 31–60
Build the layer, with evals
Semantic layer, compiler and evals on real data, without touching what already works.
- Versioned semantic layer in the repo + linter in CI (references, undeclared joins, synonyms).
- Wide marts per process (field-season, land-use assessment, product lots) on Postgres/PostGIS.
- Deterministic compiler and a database-level read-only role.
- 8–12 verified queries for the most frequent questions.
- Per-stage evals in CI; internal pilot with the BI team.
Gate: ≥ 95% accuracy on the golden set, 100% on refusals and injection, and zero differences vs QuickSight on the 5 key dashboards.
Phase 3Days 61–90
Migrate and pilot with clients
New dashboards run alongside QuickSight until the numbers match.
- Rebuild the 5 key dashboards as specs (questions + plans), with QuickSight in parallel.
- Pilot with 1–2 clients on EUDR compliance dashboards.
- Feedback loop: every thumbs-down is reviewed and can be promoted to the golden set.
- Monitoring of cost, latency and unanswered questions (which drive the next modeling).
Gate: Pilot sign-off and a parity report. Only then is the matching old dashboard switched off.
How success is measured at 90 days
Time to a new dashboarddays → minutes
Golden-set accuracy≥ 95 %
Questions answered with governed metrics≥ 80 %
Differences vs QuickSight (top 5)0
Risks and how I handle them
| Risk | Mitigation |
|---|---|
| Different definitions across teams | Resolved in phase 1 with the signed glossary, before writing code. |
| Temptation to let the AI write free SQL to go faster | Deterministic compiler; free SQL only as a labeled exploratory mode, off by default. |
| Multi-hop joins (the main failure mode) | Fixed with modeling (wide marts), not prompts. Undeclared join = refusal + gap logged. |
| LLM cost | Verified queries without LLM, caching, a cheap routing model. Measured today: ~US$ 0.003 per question on average. |
| Client trust in generated numbers | Visible trust tier, full lineage and check warnings on every answer. |
What I deliver
- Metric glossary and QuickSight → semantic layer map
- Semantic layer + compiler + read-only role
- Golden set and gated evals in CI
- 5 key dashboards migrated, with a parity report
- Traces, cost and unanswered-questions panel
What I need from the team
- Read access to Mongo, Postgres and the QuickSight datasets
- A product/compliance owner per standard for the glossary
- Real client and support questions for the golden set
- 1–2 clients willing to pilot
- Agree on the LLM provider and cost/privacy constraints