Hacker News new | ask | show | jobs
by pbalau 33 days ago
Why do you need the AI to write a script? Why not have the AI do the work without a "script"?
2 comments

Because then you have chosen a non-deterministic action when a deterministic action would do, thus making it more expensive, more prone to failure, and just more annoying to use.

Would you rather press a button and go through a simple process that's normalized across all crud apps or talk to a chatbot every time you want to solve a problem and invoke external apis?

Do keep in mind, the user has to be someone who can conceive of the idea of having a script instead of just having the job done, and also needs to have some semblance of understanding how to run it.
A script will last forever, and doesn’t cost tokens to run.