/streamlit

Dashboards

Primary LanguageJupyter Notebook

SQL code generator using OpenAI's GPT-3

Installation

The app was tested with Python 3.7

Requirements

To install your application locally, execute the following steps:

${CONDA_PATH}/conda env create -f environment.yml

Activate your environment:

$ conda activate streaml

Install other packages using pip:

$ pip install -r requirements.txt          
$ pip install -e src                              # install package   

Start your streamlit application by running:

$ streamlit run app.py

Note: Make sure your OpenAI API key is up-to-date, see https://beta.openai.com/account/api-keys

Example input text: 'Create a SQL query that shows the number of claims per line of business in Germany in descending order.'

You might also want to further customize your app by creating a 'config.toml' file in your '~/.streamlit' folder, e.g. for port modifications or any custom app settings