A LangChain-based conversational assistant for SQL databases and tabular data, powered by Google Gemini.
This app allows users to:
- Ask questions in plain English about SQL databases or uploaded CSV/XLSX files.
- Get SQL queries auto-generated, executed, and explained.
- Use retrieval-augmented generation (RAG) on tabular data for semantic answers.
- 🧾 Natural language to SQL generation (via Gemini LLM)
- 🗃️ Query
.dbfiles or uploaded.csv/.xlsx - 🔍 ChromaDB-powered RAG over tabular data
- 🧠 Gemini models (
gemini-2.0-flash,gemini-embedding-exp-03-07) used for chat + embedding - 🧑💻 Clean UI with Gradio, including file upload and multi-mode selection
git clone https://github.com/AviN27/DB-Communicator.git
cd DB-Communicator- XLSX or CSV files
- .sql or .db files
py src/app.py- Currently supports SQLite only.
- Optimized for small- to medium-sized tabular datasets.
- Gemini is used both for generating SQL and for semantic retrieval (RAG).
- Developed with support from Youtube tutorials (Farzad from AI RoundTable)
- Flaticons