textSQLGPT/byod/api at main · araza-github/textSQLGPT · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

README.md

TextSQL API

A Flask API for Text-to-SQL

Prerequisites

  • python3.10

Required configuration for development:

  • OpenAI Key
  • URL to the postgres DB

Configure the above in .env. Refer to .env.example.

Local development

Initial setup

$ ./scripts/setup.sh

Activate virtual env

$ source ./venv/bin/activate

Run local instance

$ ./scripts/dev.sh