DataChat BI is a useful guardrail blueprint—but not an NL2SQL benchmark
The new repository is strongest where it is most explicit: generated SQL stays untrusted, while its 48-row demo stays inside a clearly marked evidence boundary.
A new repository called DataChat BI is worth inspecting for its safety architecture, not for a leaderboard score. Its parent project says the NL2SQL component uses 48 deterministic order rows, covers seven question types and includes 50 tests. It also says directly that this is a demonstration of security boundaries rather than evidence of general natural-language understanding.
That distinction is the most useful thing about the release.
Treat generated SQL as hostile input
DataChat BI places several controls between a planner and SQLite. According to the repository overview, candidates must be a single SELECT or WITH statement; comments, multiple statements, write keywords and functions outside an allowlist are rejected. Tables and columns are allowlisted, parameters are bound, and a row limit is added or tightened.
Those checks are not the final boundary. The execution layer also uses SQLite’s read-only URI mode, PRAGMA query_only, an authorizer and a progress-handler timeout. That layered design matters because a parser or lexical filter can fail. Database-level denial remains in place if an earlier check misses something.
The offline planner makes another conservative choice: it matches only complete supported question forms. If a user adds a constraint such as “East China only” or “online channel only” and the rules cannot preserve it, the system refuses instead of silently dropping the filter. An optional OpenAI-compatible planner can replace the rules, but its SQL still passes through the same controls.
The evidence boundary is unusually clear
The repository reports 93 tests across three portfolio projects, 50 of them around DataChat BI. It also lists fixed demo outputs, including total sales and category/channel leaders, so a reviewer can reproduce the pipeline. At the time of inspection, the GitHub repository was public, created on November 11, had 21 stars and no declared license.
None of that establishes production NL2SQL quality. The project’s own README says the 48-row dataset and rule-based question forms are intentionally small and manually checkable. It excludes account systems, permissions, distributed execution and production observability. The parent repository similarly labels its retrieval and prompt-evaluation examples as demonstrations whose metrics should not be extrapolated.
That honesty makes DataChat BI more useful, not less. Teams evaluating it should borrow the layered execution pattern, run the tests and inspect the refusal behavior. They should not quote its deterministic outputs as model accuracy, assume the source is legally reusable before a license appears, or infer production readiness from first-day stars.
The practical lesson is simple: a credible NL2SQL demo should make unsafe actions hard and unsupported claims easy to spot. DataChat BI does both—while leaving the harder work of broad model evaluation deliberately unfinished.
sources
- AI Portfolio repository overview and DataChat BI documentationgithub.com
- DataChat BI source directorygithub.com
- GitHub repository metadata APIapi.github.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026