Earlier quoted context omitted.
> nobody is really replacing somebody with a program that confidently get half it's answers wrong I gotta tell you, I use copilot to help with my coding, and it still sends a shiver down my spine when it writes the entire database migration based off of the filename, or writes 4 pages of automated tests that work right on the first try.
> writes 4 pages of automated tests that work right on the first try Not sure that’s the right criterion to assess the quality and adequacy of tests.
Replacing a SQL analyst with 26 recursive GPT prompts
211–220 of 311 posts
Re: Replacing a SQL analyst with 26 recursive GPT prompts
#212Hmmm... I'm surprised I'm not seeing anyone else question the validity of this taking "2 hours" Given that it's written on the blog for the product it's using, this reads to me a lot like a pure sales pitch. They want us to believe if you use Patterns (which is neat), your company will be much more cost-effective. I'm not saying that's bad - that's probably the right thing to do with their company blog, and it's cool…
Author here, I’ve updated the post. The first draft of this app and blog post took me two hours, but I kept coming back with new ideas and tweaks throughout the week. By the end, I’d certainly spent more than two hours (more like 8?), so you’re right, I just failed to update the post. The main point stands — it’s surprisingly good for the amount of effort put in (although unclear how much more juice you could get out…
Re: Replacing a SQL analyst with 26 recursive GPT prompts
#213Earlier quoted context omitted.
Author here, I’ve updated the post. The first draft of this app and blog post took me two hours, but I kept coming back with new ideas and tweaks throughout the week. By the end, I’d certainly spent more than two hours (more like 8?), so you’re right, I just failed to update the post. The main point stands — it’s surprisingly good for the amount of effort put in (although unclear how much more juice you could get out…
It doesn't seem like you've really replaced anyone with this. You spent 8 hours doing the work that you could have paid an SQL analyst to do in much less. Unless you're saying that your time is worth less than you'd pay the analyst?
Sounds cool until it produces the wrong results.. then you'll need to hire an analyst to check every query just in case.
Re: Replacing a SQL analyst with 26 recursive GPT prompts
#214Re: Replacing a SQL analyst with 26 recursive GPT prompts
#215Anyone who's been asked more than a couple of times for data that requires a non-trivial bit of ad-hoc SQL will know the sinking "oh shit" feeling that comes when you subsequently realise you borked the query logic in some subtle way and have accordingly emailed out a completely bogus answer/report. From the article it doesn't seem that GPT is significantly better or worse than a human in this regard, although an exp…
> slather a battery of views over your data One needs to be careful with this approach in terms of query performance, though. Using simple views with a couple of joins and some filtering is fine, but be very wary of stacking more than 1-2 layers of views calling each other, and especially of using things like aggregates/window functions in views, if these views then are then used as building blocks for more complex q…
Re: Replacing a SQL analyst with 26 recursive GPT prompts
#216Wonder what the costs are for this per question? I imagine supplying so many tokens for context makes the querying a lot more expensive. Though still no doubt cheaper than hiring another analyst.
> This led to completion chains of over 20 calls to GPT for a single user question. […] it takes 15 seconds and costs $1 in credits vs $50 and 1 hour for the analyst.
Re: Replacing a SQL analyst with 26 recursive GPT prompts
#217Earlier quoted context omitted.
Author here, I’ve updated the post. The first draft of this app and blog post took me two hours, but I kept coming back with new ideas and tweaks throughout the week. By the end, I’d certainly spent more than two hours (more like 8?), so you’re right, I just failed to update the post. The main point stands — it’s surprisingly good for the amount of effort put in (although unclear how much more juice you could get out…
Couldn’t you have just got ChatGPT to write the post?
Re: Replacing a SQL analyst with 26 recursive GPT prompts
#218Earlier quoted context omitted.
Well it's trained to simulate humans and that includes simulating the errors.
This is an exceptionally deep, interesting, and important statement. Is it true? Does GPT-3 occasionally make spelling errors for instance? Is the rate of spelling errors higher or lower than the average human? How about versus the average in the training data? How does the prompt affect the frequency of such errors. Ditto for other kinds of objectively measurable error.
Re: Replacing a SQL analyst with 26 recursive GPT prompts
#219Hmmm... I'm surprised I'm not seeing anyone else question the validity of this taking "2 hours" Given that it's written on the blog for the product it's using, this reads to me a lot like a pure sales pitch. They want us to believe if you use Patterns (which is neat), your company will be much more cost-effective. I'm not saying that's bad - that's probably the right thing to do with their company blog, and it's cool…
What do they do? I can’t tell.
Re: Replacing a SQL analyst with 26 recursive GPT prompts
#220Earlier quoted context omitted.
This is an exceptionally deep, interesting, and important statement. Is it true? Does GPT-3 occasionally make spelling errors for instance? Is the rate of spelling errors higher or lower than the average human? How about versus the average in the training data? How does the prompt affect the frequency of such errors. Ditto for other kinds of objectively measurable error.
In my experience it makes less errors if you prompt it to reason carefully step by step.