←back to thread

Getting AI to write good SQL

(cloud.google.com)
478 points richards | 1 comments | | HN request time: 0.203s | source
Show context
cloudking ◴[] No.44010100[source]
This is pretty simple in any foundation model, provide a well commented schema and ask for the query
replies(4): >>44010110 #>>44010243 #>>44010309 #>>44011095 #
1. fsndz ◴[] No.44010243[source]
the smolagents library is also pretty nice to do the scaffolding around the model. Text to sql seems simple in demos, but to make it work in real life complex cases is very hard: https://medium.com/thoughts-on-machine-learning/build-a-text...