ChatBI
Real schema-linking retrieval, an AST-based SQL safety gate, and live query execution — not a thin 'LLM writes SQL' wrapper.
ChatBI
Retrieve → generate → validate → execute → verify
Not a thin "dump the schema at an LLM" wrapper: real schema-linking retrieval, dynamic few-shot, a SQL safety gate, and result validation.
About the data
The Ask tab supports 3 sample databases spanning genuinely different business domains (E-commerce / HR / SaaS), making a real DeepSeek call to generate SQL and executing it against an in-memory SQLite database; the other tabs show real retrieval/safety-gate output from the same pipeline, captured offline.
GMV is growing, but leadership needs to know whether profit is leaking through discounts, refunds, ad spend, or stockouts.
The headline requires a real SQL run; skipped if the sql.js/LLM environment is unavailable.
Ask in natural language
Ask a question against the built-in 🛒 E-commerce sample database — the system really retrieves relevant tables, calls DeepSeek to generate SQL, runs a safety check, and executes it on real data.