
Natural Language to SQL ChatBot
A conversational analytics assistant that converts plain-English questions into SQL queries and returns insights instantly.
Reduced ad-hoc reporting turnaround time by 64% and empowered non-technical users to self-serve data queries.
Project Overview
This system enables business users to query relational databases without writing SQL. It maps natural language questions to schema-aware SQL, executes queries securely, and returns readable summaries with optional chart-ready outputs.
Key Features
- Natural language to SQL query generation
- Schema-aware table and column mapping
- Readable answer summaries with result explanations
- Query history and reusable prompt templates
- Safe-query guardrails and access control checks
USP
Bridges business and data teams by making SQL-powered analytics accessible through simple conversation.
Tech Stack
Next.jsPythonFastAPIPostgreSQLOpenAI API
View Demo