Submitted by Mogen1000 t3_10rcn5o in singularity
dgrsmith t1_j6xffed wrote
Reply to comment by HighTechPipefitter in GPT tool that lets you connect to databases and ask questions in text. by Mogen1000
>If you are in a position that you have access to a database at work, I strongly suggest that you give it a try. It's surprisingly good.
I'll give it a try with synthetic data! Maybe I'll be surprised at the amount of finessing it doesn't take. I assume it's gonna take quite a bit to make it work, but I'll give it a shot!
HighTechPipefitter t1_j6xjlgw wrote
Fun starts here: https://platform.openai.com/examples/default-sql-translate
Then "all you need" is to create an API call with python to get the query from OpenAI and send that query to your database through another API call.
Start small, there's a lot of little quirks but the potential is definitely there.
I expect that in the coming years you will start to see a bunch of articles about the best practice on how to integrate an AI with a database.
Good luck.
Viewing a single comment thread. View all comments