Jun 13, 2026

NF QueryGPT AI Business Advisor

bwai-trae-delhi

an AI-powered assistant that allows non-technical users to ask questions in natural language and get answers directly from the database.

Github repo: https://github.com/Rahul1504373/nf-querygpt-business-advisor

Purpose
Build a text-to-SQL agent with a professional Streamlit UI that:

- Converts natural language queries (English, Hindi, Hinglish) into accurate SQL.
- Executes read-only queries on a 12-table, 42k+ record SQLite database of matrimony platform data.
- Generates role-specific insights and visualizations.
- Follows security best practices (read-only, two-layer safety).

### Core Technical Goals
1. Accurate SQL Generation : Use state-of-the-art LLMs (via Groq) with schema awareness to generate correct SQL.
2. Ambiguity Handling : Detect unclear questions and ask clarifications instead of guessing.
3. Multi-Language Support : Handle English, Hindi, and Hinglish queries.
4. Professional UI : Clean, responsive, non-vibe-coding design with Streamlit.
5. Security : Two-layer read-only enforcement (keyword filter + LangChain agent safeguards).
6. Role-Based Insights : Tailor executive summaries and business impact analysis to CEOs, Marketing Managers, etc.
7. Transparency : Show generated SQL, query complexity, confidence level, and "how we solved this" breakdown.
8. Easy Deployment : Make it simple to run locally and deploy to free platforms like Streamlit Community Cloud.

 

Give a star to encourage!Discussion
Start a new conversation!
Login to join the discussion