This article is a simple quick starter (what I did was) with SqlDatabaseChain.
Hope this ignites some interest.
Many thanks to:
sqlalchemy-iris author @Dmitry Konnov Maslennikov
Your project made this possible today.
The article script uses openai API so caution not to share table information and records externally, that you didn't intend to.
A local model could be plugged in , instead if needed.
Creating a new virtual environment
mkdir chainsql cd chainsql python -m venv .
.png)
.png)
.png)

.png)
.png)
.png)
