Given the schema of tables and a natural language query, this program will return a well formatted SQL.
Check out the example folder for a working example.
- Follow instructions here to generate an API key
- Create a .env file in the root directory of this project
- Add the following line to the .env file:
OPENAI_API_KEY=<your api key>
python ./nlp-service.py
Built with 💗 @ Arcesium Hackathon 2022. Won the Best Application of Data Analytics & Visualization
award in the hackathon.