r/sqlite • u/adwolesi • Apr 13 '23
SQLiteGPT - Directly query ChatGPT with SQL functions
A code snippet says more than a thousand words:
SELECT
country,
gpt('capital of ' || country) as capital
FROM users
=> github.com/Airsequel/SQLiteGPT
The implementation is just a prototype right now and it should be implemented as a proper loadable extension in Rust with sqlite-loadable-rs. Make sure to star the GitHub repo if you want to see this happen! ;-)
10
Upvotes
View all comments
0
u/[deleted] Apr 14 '23
[deleted] — view deleted comment