Viewing a single comment thread. View all comments

limpbizkit4prez t1_j9gmme3 wrote

If there are existing APIs that make these tasks so simple, what's the point of using ChatGPT? Why not just write the 5-10lines of code?

3

sam__izdat t1_j9ilz50 wrote

Why write 5-10 lines of code, when an LLM can write 5-10 lines of code wrong, in a subtle but vaguely plausible-looking way, so that you can spend twice as long debugging the 5-10 lines of code?

5

currentscurrents t1_j9j0gt7 wrote

According to their paper, the LLM is doing task decomposition. You're able to give it high-level instructions like "go to the kitchen and make an omelette", and it breaks it down into actions like get eggs, get pan, get oil, put oil in pan, put eggs in pan, etc.

You could use something like this to give high-level instructions to a robot in plain English.

2

blueSGL t1_j9gutu0 wrote

> Why not just write the 5-10lines of code?

In order to write 5-10 lines of code, you need to know how to code.

I know how to code, if I can avoid writing more code than needed I do.

1

limpbizkit4prez t1_j9h3nbm wrote

If you don't know how to code, then regardless of how you interface it's going to be difficult to execute. If you do know how to code, then you'll probably want better encapsulation. I guess what I'm most curious about is if those code examples they give in their paper are able to be ran, like are those libraries that easy to use

3

sam__izdat t1_j9imyry wrote

I have never seen it generate any code that is correct-in-principle, let alone usable, for any non-trivial problem. It may be useful as a kind of impressionist painting of a solution, for those who are already programmers. And for trivial code, you'd frankly be better off just learning to code.

In other words, I don't really see this being remotely useful to someone who doesn't know how to code. If anything, the barrier to entry is higher, because you will need to debug extremely unusable but convincing-looking programs. It's at best a hint or a template and at worst a hinderance.

3