Skip to content

Shivas-A54/Prompt2Query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 Prompt2Query : Natural Language to SQL Query Generator

Prompt2Query — turn natural language prompts into database query results.


🎥 Demo

Watch a short demo below to see the agent in action:

Demo


🏛️ Architecture

Here is a high-level overview of how the NL2SQL agent processes requests:

Architecture


🚀 Features

  • AI Query Generator – Converts natural language questions into optimized SQL queries.
  • Database Integration – Connects securely to your database to execute queries dynamically.
  • Automated Setup – Easy initialization using the provided setup_db.py script.
  • Beautiful Result Display – Clean and interactive tabular view for query results.
  • Secure Configuration – Environment variable management using .env.example for secure deployment.

📁 Project Structure

Here is an overview of the repository files:

📦SQL-AGENT/
├── .env.example              # Template for environment variables
├── LICENSE                   # MIT License file
├── README.md                 # Project documentation (this file)
├── app.py                    # Main application script (Frontend/Logic)
├── gif.gif                   # Demonstration animation
├── nl2sql_architecture.svg   # System architecture diagram
├── requirements.txt          # Python dependencies
└── setup_db.py               # Script to initialize the database

About

NL2SQL agent — turn natural language prompts into database query results

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages