2 ms·
GPT-4 writes some wicked complicated (but correct!) SQL if given a schema and a relevant task: https://gist.github.com/int19h/428cea1d87dfc389b99de1b79727f00f
by int_19h 4y ago
GPT-4 writes some wicked complicated (but correct!) SQL if given a schema and a relevant task:
https://gist.github.com/int19h/428cea1d87dfc389b99de1b79727f00f https://gist.github.com/int19h/428cea1d87dfc389b99de1b79727f...
What I found really amazing about this particular experiment is that the schema I gave it didn't contain any information that could be used to query for things like distances between places, and yet it came up with the idea of using settlements' culture as a proxy to determine "border fiefs", completely unprompted (and yes, it actually is a very effective proxy for this particular case!).
I wonder now what it would do with Prolog - or maybe Datalog for simplicity? - although that might depend on how much of it there is in the training data. Do you know if anyone tried it yet?
- nullsense 4y agoThat's wild.