๐ง Natural Language SQL AI Instantly query your internal databases using plain English โ secure, offline, and schema-aware.
๐ Overview This AI-powered tool allows non-technical users to interact with internal SQL databases using natural language. No SQL knowledge required โ just ask questions like:
โList all complaints filed against John Doe.โ โShow employees who accessed the R&D lab after 8 PM this month.โ
Built for HR teams, police departments, IT ops, and more, the tool runs fully offline to ensure complete data privacy.
๐งฐ Tech Stack Python
Natural-SQL-7B (open-source LLM)
LangChain
FAISS
RAG (Retrieval-Augmented Generation)
Pandas, NumPy
Jupyter Notebooks
๐ Key Features โ Natural language to SQL โ Just ask questions in plain English
โ Schema-aware โ Custom-tuned to your database structure
โ Runs locally โ No data ever leaves your system
โ Works across domains โ HR, law enforcement, manufacturing, logistics, etc.
โ Easy integration โ Minimal setup, fast deployment
๐งช Example Use Cases ๐ฎโโ Police Department โShow FIRs filed in Mumbai in 2024.โ
โWho is assigned to Zone 3 currently?โ
๐ข Smart Enterprise โList employees with no access activity in the last 10 days.โ
โWho accessed the server room after working hours?โ
๐ Setup Instructions Clone the repository
Install dependencies:
bash Copy Edit pip install -r requirements.txt Launch Jupyter Notebook or your preferred IDE
Load your database schema and start querying!
๐ Impact ๐ Improved internal data accessibility by 70%
๐ Reduced technical support dependency by 50%
๐ง Handles over 1,000 queries/day in real-world settings