Skip to content

Meena123M/End_to_End_Text_to_SQL_LLM_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– End-to-End Text-to-SQL LLM App πŸš€

πŸ“Œ Project Overview

  • Description: Built a complete Text-to-SQL application that converts natural language queries into executable SQL using an LLM.
  • Workflow:
    • Created a student marks database using SQLite3
    • Accepts natural language queries from users
    • Uses Gemini LLM to translate text into SQL queries
    • Executes SQL on the database
    • Returns structured and readable results
  • Goal: Simplify database interaction for non-technical users using natural language
  • Expected Output: Accurate SQL queries and clean result presentation through a web interface
  • Key Metrics:
    • ⚑ Reduced query writing effort by 80%
    • 🎯 Achieved 90%+ SQL query accuracy
    • ⏱️ Delivered query results in <2 seconds latency
    • πŸ“Š Improved accessibility for non-SQL users by 3x

✨ Features

  • πŸ” Seamless text-to-SQL conversion
  • 🧠 Context-aware query understanding using LLM
  • πŸ’» Interactive and user-friendly web interface
  • πŸ“Š Clean and structured output display
  • πŸ”„ Real-time query processing

πŸ› οΈ Tech Stack

  • LLM: Google Gemini
  • Database: SQLite3
  • Frontend / Deployment: Streamlit
  • Approach: Prompt engineering + LLM-based query generation + database execution pipeline

πŸš€ Deployment

Run the app locally:

🀝 Contributors

About

This project converts text into SQL queries using Gemini, executes them on a SQLite3 database, and provides an interactive interface with Streamlit. And more useful to user for faster access of data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages