I tried to get one to write an interface to a simple API, and gave it a link to the documentation. Mostly because it was actually really good documentation for a change. About half a dozen end points.
It did. A few tweaks here and there and it even compiled.
But it was not for the API I gave it. Wouldn’t tell me which API it was for either. I guess neither of us will ever know.
I’ve actually used chat GPT (or was it Cursor? I dont remember now) to help write a script for a program with a very (to me, a non-programmer) convoluted, but decently well documented API.
it only got a few things right, but the key was that it got enough right for me to go and fix the rest. this was for a task I’d been trying to do every now and then for a few years. was nice to finally have it done.
but damn, does “AI” ever suck at writing the code I want it to. or maybe I just suck at giving prompts. idk. one of my bosses uses it quite a bit to program stuff, and he claims to be quite successful with it. however, I know that he barely validates the result before claiming success, so… “look at this output!” — “okay, but do those numbers mean anything?” — “idk, but look at it! it’s gotta be close!”
I tried to get one to write an interface to a simple API, and gave it a link to the documentation. Mostly because it was actually really good documentation for a change. About half a dozen end points.
It did. A few tweaks here and there and it even compiled.
But it was not for the API I gave it. Wouldn’t tell me which API it was for either. I guess neither of us will ever know.
I’ve actually used chat GPT (or was it Cursor? I dont remember now) to help write a script for a program with a very (to me, a non-programmer) convoluted, but decently well documented API.
it only got a few things right, but the key was that it got enough right for me to go and fix the rest. this was for a task I’d been trying to do every now and then for a few years. was nice to finally have it done.
but damn, does “AI” ever suck at writing the code I want it to. or maybe I just suck at giving prompts. idk. one of my bosses uses it quite a bit to program stuff, and he claims to be quite successful with it. however, I know that he barely validates the result before claiming success, so… “look at this output!” — “okay, but do those numbers mean anything?” — “idk, but look at it! it’s gotta be close!”
Cry for help, it was trying to get you to interface with its own API, to either fix it, or end it.