aniketandhale08 / GenQuery_2

SQL Gen AI app, simplifying data access and manipulation in SQL databases through natural language commands and educational examples.
https://genquery-2.streamlit.app/
1 stars 0 forks source link

GenQuery 2.0: Simplifying SQL for Everyone with AI-Powered Natural Language Queries and Seamless Data Visualization.

Welcome to GenQuery! This project aims to simplify data access and manipulation in SQL databases through natural language commands, educational examples, and powerful AI integration.

gif

Features

1. Natural Language SQL Query Generation

2. SQL Formatter

3. Query Explainer

4. Data Analysis & Visualization

Built With

Tools

Data Analysis & Visualization

Project Architecture

Setup Instructions

  1. Clone the Repository:

    git clone https://github.com/aniketandhale08/GenQuery_2
    cd GenQuery_2
  2. Install the required libraries:

    pip install -r requirements.txt
  3. Set Up SQLite Database:

    • No additional setup is required for SQLite; it is lightweight and runs locally by default.
  4. Environment Variables:

    export GOOGLE_API_KEY=your_google_api_key
  5. Run the Application:

    streamlit run app.py

Testing Instructions

  1. Access the Application: Follow the setup instructions to run the application locally.
  2. Database Connection: Ensure that SQLite is correctly configured and accessible.
  3. Run Queries: Input natural language commands and observe the generated SQL queries and their explanations.
  4. Test Features: Use the SQL Formatter and Query Explainer to test formatting and query explanation functionalities.

Challenges and Learnings

  1. Integration: Successfully integrated SQLite with the AI-powered GenQuery to manage data efficiently.
  2. User Experience: Focused on making the tool beginner-friendly while maintaining powerful features for advanced users.

Future Enhancements

  1. User Feedback Integration: Gather user feedback to further improve the tool.
  2. Expanded Features: Plan to add more data visualization options and AI-driven insights.