Live data from Hacker News

Replacing a SQL analyst with 26 recursive GPT prompts

patterns.app

11–20 of 311 posts

Re: Replacing a SQL analyst with 26 recursive GPT prompts

#11

Interesting. Probably won't work for harder queries, but would be a good tool to make simpler queries, or parts of harder ones.

my opinion: probably will work for harder queries, because GPT is a form of general intelligence. (At least ChatGPT is. It is a much more advanced form of intelligence than davinci-003, which the poster used.)

It's not even close to being a form of general intelligence. It's an advanced language model trained on a large set of data. It gets confused for even the simplest of things, especially code.

You can trick it into working more-or-less correctly on simple sets and simple tasks, but in the wrong run it will be more wrong than correct.

Re: Replacing a SQL analyst with 26 recursive GPT prompts

#14
post #6

Interesting. Probably won't work for harder queries, but would be a good tool to make simpler queries, or parts of harder ones.

Yeah, it doesn't. A friend of mine played around with this and on trickier questions you got confidently incorrect answers.

That is almost worse than it completely not working.

Re: Replacing a SQL analyst with 26 recursive GPT prompts

#15

You didn't replace a SQL Analyst, you just gave them a query generator. End data consumers don't understand the data model, assumptions, quirks, etc. If they fire the analyst, they are going to wind up drawing a lot of bad conclusions on anything more complicated than simple aggregations.

You just described most SQL analysts I've worked with

Re: Replacing a SQL analyst with 26 recursive GPT prompts

#17

Earlier quoted context omitted.

my opinion: probably will work for harder queries, because GPT is a form of general intelligence. (At least ChatGPT is. It is a much more advanced form of intelligence than davinci-003, which the poster used.)

It's not even close to being a form of general intelligence. It's an advanced language model trained on a large set of data. It gets confused for even the simplest of things, especially code. You can trick it into working more-or-less correctly on simple sets and simple tasks, but in the wrong run it will be more wrong than correct.

to be fair, we do not know how close it's to "general intelligence". Could be lightyears away, or could be surprisingly close. We just know that ChatGPT is not general intelligence, but there's also no agreed upon definition what general intelligence is.

Re: Replacing a SQL analyst with 26 recursive GPT prompts

#18

Earlier quoted context omitted.

> GPT is a form of general intelligence. Is it really? I hadn't heard that

no it's not. It's just a neural network. Although it's impressive nobody is seriously calling it "general intelligence".

Tu quoque :) (You're "just a neural network" too.)

I am seriously calling it general intelligence. Maybe I'm nobody, but my assistant does my bidding.

Re: Replacing a SQL analyst with 26 recursive GPT prompts

#19

You didn't replace a SQL Analyst, you just gave them a query generator. End data consumers don't understand the data model, assumptions, quirks, etc. If they fire the analyst, they are going to wind up drawing a lot of bad conclusions on anything more complicated than simple aggregations.

You just described most SQL analysts I've worked with

I think that's because most SQL analyst who can understand the data model, assumptions, quirks, etc. usually get promoted into other positions.

Re: Replacing a SQL analyst with 26 recursive GPT prompts

#20
The problem is that you never really know whether the chat bot gets it right or terrifically wrong unless you already know how to do the task yourself.

And in some cases, paying an analyst $50/hr. for a higher degree of confidence than you can get from a $1 chat bot is still very much worth it.

The stakes are higher, too. If the chat bot gets it wrong, what are you going to do, fire it? There goes a small trickle of revenue to OpenAI. Whereas if the analyst gets it wrong, there goes their livelihood.

That said ... this will help the $50/hr. analyst improve their productivity!

Post reply on HN