To set this up, run:
git clone https://github.com/sanand0/sqlchat.git
cd sqlchat
export OPENAI_API_KEY=...
pip install -r requirements.txtTo use it, you can either run:
uvicorn sqlchat:app... and visit http://localhost:8000/ (replace localhost) with your server.
OR run from the command line:
python sqlchat.py type your question here