Project Overview
The SQL-ChatBot-PhaseOne project enables conversational querying of a SQL database. Instead of writing SQL manually, users can ask questions like:
“How many students scored above 75%?”
“List all students in Class A.”
The bot interprets the user’s question, generates SQL statements, executes them on student.db, and returns results.
This project is perfect for beginners exploring AI, Natural Language Processing, and interactive database systems.
✔ Natural language to SQL conversion
✔ Python-based backend
✔ Local SQLite database integration (student.db)
✔ Easy to extend for RAG or LangChain integration
✔ Great learning foundation for AI + SQL systems
-
Clone the repo git clone https://github.com/Devgan79/SQL-ChatBot-phaseone.git cd SQL-ChatBot-phaseone
-
Create & activate virtual environment python3 -m venv venv source venv/bin/activate # (Linux/macOS) venv\Scripts\activate # (Windows)
3.Install dependencies pip install -r Requirements.txt
4.Run the application python app.py
##Contribution
Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.