5 ms·
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".
by pjdemers 4y ago
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".
- Scandiravian 4y agoI guess it's mostly due to cost and reproducibility 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
- code_runner 4y agoThese models aren't capable of "doing" things. They can't necessarily calculate values etc. They can assemble text based (more or less) on statistical analysis of all their input data, and the are incredible at it... but if you ask what 2+2 is, its not doing math to get to 4. They certainly can't deploy the code they generate etc.
- ThrowawayTestr 4y ago>its not doing math to get to 4 OpenAI just announced a partnership with Wolfram Alpha, so now it can ask a different computer to do the math.
- josecyc 4y agoIt's only time till they have access to your filesystem and then that's it
- kristofferR 4y agoThings are moving so damn fast, while you were correct when you posted - two hours later you were not: https://twitter.com/gdb/status/1638971232443076609 https://twitter.com/gdb/status/1638971232443076609
- moreice 4y agoI tried asking GPT-4 a math question and it does do 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."