Skip to content

Suvakanta8/SQL-Query-Builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

🛠️ SQL Query Builder from Natural Language

An AI-powered system that generates SQL queries directly from natural language input, leveraging OpenAI's language model and a custom-trained model for accurate translation.

📋 Table of Contents

✨ Features

  • 🗣️ Natural Language Input: Converts natural language questions and requests into SQL queries.
  • 🤖 AI-Powered Translation: Utilizes OpenAI's language model and a custom-trained model for accurate translation from natural language to SQL.
  • 💡 Intelligent Query Generation: Generates optimized SQL queries based on input context.
  • 🔍 Query Execution: Executes generated SQL queries against a database and returns results.

🛠 Requirements

  • Python 3.8+
  • OpenAI API key

🚀 Installation

  1. Clone the repository:

    git clone https://github.com/your-username/sql-query-builder-nlp.git
    cd sql-query-builder-nlp
  2. Install the required Python packages:

    pip install -r requirements.txt
  3. Set up your environment variables or update the config.json file with your API keys and database credentials.

📚 Usage

  1. Run the Application:

    python app.py
  2. Enter Natural Language Queries:

    • Input your natural language questions or requests, and the system will generate and execute the corresponding SQL queries.
  3. View Query Results:

    • The results of the executed SQL queries will be displayed in the application interface.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages