Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wahidpanda/sql.ai-text-to-sql-code

SQL.AI is an interactive web application built with Streamlit and powered by Google's GenerativeAI. It allows users to interactively retrieve SQL data through natural language queries and predefined SQL commands. The application connects to a SQLite database, executes SQL queries, and provides visualizations of the retrieved data.
https://github.com/wahidpanda/sql.ai-text-to-sql-code

artificial-intelligence data-science data-science-projects data-scienced data-visualization gemini-pro generative-ai machine-learning text-to-sql

Last synced: about 1 month ago
JSON representation

SQL.AI is an interactive web application built with Streamlit and powered by Google's GenerativeAI. It allows users to interactively retrieve SQL data through natural language queries and predefined SQL commands. The application connects to a SQLite database, executes SQL queries, and provides visualizations of the retrieved data.

Awesome Lists containing this project

README

        

# SQL.AI-Text-To-SQL-Code
SQL.AI is an interactive web application built with Streamlit and powered by Google's GenerativeAI. It allows users to interactively retrieve SQL data through natural language queries and predefined SQL commands. The application connects to a SQLite database, executes SQL queries, and provides visualizations of the retrieved data.

![image](https://github.com/wahidpanda/SQL.AI-Text-To-SQL-Code/assets/110899864/72df5876-a7bf-4dc5-bf42-9372ea475cdd)
![image](https://github.com/wahidpanda/SQL.AI-Text-To-SQL-Code/assets/110899864/c2d3369d-b049-48c4-af2e-17ba55711c4a)
![image](https://github.com/wahidpanda/SQL.AI-Text-To-SQL-Code/assets/110899864/d9e2c82c-8bb8-4e7a-a3bb-a9b1aa285f9d)
![image](https://github.com/wahidpanda/SQL.AI-Text-To-SQL-Code/assets/110899864/0081bb89-4cf4-4760-9430-0a81cf96001e)
![image](https://github.com/wahidpanda/SQL.AI-Text-To-SQL-Code/assets/110899864/6392f951-8c1d-4586-8370-d1277450a413)

**Features**
- Natural Language Processing: Utilizes Google's GenerativeAI to convert natural language questions into SQL queries.
- Predefined SQL Commands: Offers a set of predefined SQL commands for quick data retrieval.
- Interactive Data Visualization: Provides visualizations such as bar charts and pie charts based on the retrieved data.
- Custom Search Options: Allows users to select specific columns for visualization and choose date ranges.
- CSV Download: Enables users to download the retrieved data as a CSV file.

**How to Use**
- Ask a Question: Input your SQL-related question in natural language and click "Ask SQL.AI."
- Execute Predefined Commands: Select a predefined SQL command from the dropdown and click "Execute Command."
- Visualize Data: Explore interactive visualizations based on the retrieved data.
- Download Data: Download the retrieved data as a CSV file.

**Getting Started**
- Clone the repository.
- Install dependencies using pip install -r requirements.txt.
- Run the application with streamlit run app.py.

**License**
This project is licensed under the MIT License.