Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arya920/querio_lingua-nl-to-sql
QuerioLingua is a Streamlit web application that allows you to generate SQL queries for your datasets using natural language prompts & text-davinci-003 as a base mode
https://github.com/arya920/querio_lingua-nl-to-sql
natural-language-processing nl-to-sql query-language sqlquerybuilder streamlit text-davinci-003
Last synced: about 1 month ago
JSON representation
QuerioLingua is a Streamlit web application that allows you to generate SQL queries for your datasets using natural language prompts & text-davinci-003 as a base mode
- Host: GitHub
- URL: https://github.com/arya920/querio_lingua-nl-to-sql
- Owner: Arya920
- License: apache-2.0
- Created: 2023-08-11T19:02:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-14T11:49:58.000Z (about 1 year ago)
- Last Synced: 2023-12-14T12:49:31.547Z (about 1 year ago)
- Topics: natural-language-processing, nl-to-sql, query-language, sqlquerybuilder, streamlit, text-davinci-003
- Language: Python
- Homepage: https://queriolingua.streamlit.app/
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Landing Page](https://github.com/Arya920/Querio_Lingua-NL-to-SQL/blob/main/ss.png)
### QuerioLingua SQL Query Generator
QuerioLingua is a Streamlit web application that allows you to generate SQL queries for your datasets using natural language prompts & text-davinci-003 as a base model.[Direct Link to Web App](https://queriolingua.streamlit.app/)
## Features- Upload a CSV file to analyze data.
- Get the DataFrame Description.
- Enter natural language queries to generate corresponding SQL queries.
- View SQL queries and their results.## Getting Started
1. Clone this repository to your local machine:
```bash
git clone https://github.com/yourusername/queriolingua-app.git2. Install the Required Packages:
```bash
pip install -r requirements.txt
```set up your OpenAI API key:
- Go to the OpenAI Developer Platform: https://platform.openai.com/account/api-keys
- Copy your API key.
- Open app.py and replace "YOUR_OPENAI_API_KEY" with your actual API key.
streamlit run app.pyUsage
- Upload a CSV file using the sidebar.
- Enter a natural language query in the text input field.
- Click the "Generate SQL" button to generate SQL queries and view the results.Customization
- You can customize the styling and appearance of the Streamlit app by modifying the custom_style in app.py.
- Additionally, you can edit the config.toml file in the .streamlit directory to change the theme and appearance of your app.Contributing
- Contributions are welcome! If you find a bug or want to add a new feature, feel free to open an issue or submit a pull request.