Why ask chatgpt to write the code when I can just ask it to do the task? Instead of "write code to do X", just ask it "do X".
They certainly can't deploy the code they generate etc.
OpenAI just announced a partnership with Wolfram Alpha, so now it can ask a different computer to do the math.
Me: "What (8 * 25) / 14 + 4 - 2?"
AI: "Let's break down the expression and solve it step by step:
Multiply 8 and 25: 8 * 25 = 200
Divide the result by 14: 200 / 14 ≈ 14.2857 (rounded to four decimal places)
Add 4 to the result: 14.2857 + 4 = 18.2857
Subtract 2 from the result: 18.2857 - 2 = 16.2857 (rounded to four decimal places)
So, the result of the expression (8 * 25) / 14 + 4 - 2 is approximately 16.2857."It's significantly cheaper to run an sql query than have ChatGPT look through several gigabytes of data and ChatGPT won't be guaranteed to produce the same result each time