Specimen 01 / 03
Taobao ChatBI
Ask a question about 10 million rows of Taobao behaviour logs in plain Chinese. A LangGraph workflow writes the SQL, checks it, runs it read-only, then explains the result.
- Metric definitions lifted trap-question accuracy from 70% to 100%
- A covering index cut a daily-active query from 30.5 s to 0.85 s
- Attack tests found and fixed a same-name CTE bypass of the SQL whitelist
The live demo is password-protected to limit cost. Ask for access.
淘宝用户行为 ChatBI
Ask in Chinese. Get a checked answer.
- 01Generate SQL
- 02Safety check
- 03Read-only run
- 04Explain
↺ on error, fix and retry, up to 3 times
- SELECT only
- one statement
- LIMIT added
- 30 s timeout
Fig. 1 — a question goes in, a checked answer comes out


