This is a small utility to help working with the duckdb tuned duckdb-nsql model with Ollama.
./llmsql.py ./test.db -p "select all entries" -er
usage: llmsql.py [-h] [-p PROMPT] [-e EXECUTE_QUERY] [-er EXECUTE_RESPONSE] database_path
This is very much a work in progress. Feel free to fork and send me a pull request.