- Idea is to use the first build the db
- Get the schema of the database and the tables
- Pass into the Open AI
- Get the query in natural language
- Ask it to build the SQL query
- Get the results
- Parse the results and feed it into Open AI
A natural language to SQL query converter with Streamlit interface.
-
Install requirements:
pip install -r requirements.txt -
Create a
.envfile with: