While browsing the Python docs yesterday, I discovered that the latest 3.12 version has added support for a `python3 -m sqlite3` interactive shell. I looked into the source code, and its implementation was simple, giving me an idea:
Why not hook the beautiful llm library by simonw into such an interactive shell, and thus have direct LLM support in SQLite? Without writing a C extension, build a shared object and all that fuss.
Well, now you can `pip install tsellm` and do just that.
demo gif: https://github.com/Florents-Tselai/tsellm/blob/main/tsellm-d...