Text-to-SQL · Analytics
SAM BOT: Conversational BI and Text-to-SQL Assistant
A conversational BI service that turns plain-English questions over spreadsheets and databases into tables, charts and executive summaries, cutting manual analysis time by about 60%.
~60%less manual analysis time
NL → SQLwith business rules
Chartsand executive summaries
FastAPIservice
The problem
Business users waited on analysts for routine questions about their own data.
What I built
- Built SAM BOT as a FastAPI service using Azure OpenAI and PandasAI.
- Encoded business rules and definitions directly into the text-to-SQL prompts, so answers matched how the business measures things.
- Returned results as tables, charts and short executive summaries rather than raw query output.
Result
Manual analysis time dropped by about 60%, and non-technical users could self-serve routine questions.