← Back to projects

Buses JAC · AI Engineer · March–June 2026

Text-to-SQL for Business Analytics

I built a Text-to-SQL assistant so Buses JAC managers could ask questions about company data in everyday language.

The problem

Business reports were prepared manually. The assistant needed to turn questions into SQL without bypassing the rules used to query company data.

How I built it

  • Developed the GenBI assistant around natural-language questions from business users.
  • Used Vanna AI and DeepSeek V4 to generate SQL from those questions.
  • Adjusted SQL execution to apply business rules to the generated queries.
  • Built the Flask interface in Docker and added feedback loops for undocumented edge cases.

Result

Managers could query business data directly instead of waiting for a manually prepared report.

Technology

  • Text-to-SQL
  • Vanna AI
  • DeepSeek V4
  • Flask
  • Docker
  • GenBI

Want to talk about a project?

Email me