Python Chat Natural Language to Sql

Demo: https://sql.midashub.com.br/

ui

Create Env File .env

Add Environments variables

  • OPENAI_API_KEY

Run

Requirements

  • Make
  • Python

Create Environment

    python3 -m virtualenv venv

Activate Environment

    source venv/bin/activate 

Install Dependencias

  pip install -r requirements.txt

Start Service

  make run

Or

  streamlit run src/main.py