Hacker News new | ask | show | jobs
by spikeagally 1268 days ago
>> This is cool. I've been using it mostly to explain APIs to me when I'm too lazy to dig through docs.

I’d be careful with this. I maintain docs for a project and asked ChatGPT how to implement a feature. The answer is in the docs obviously. It returned a really compelling step by step guide including code samples. Like a great StackOverflow answer. The problem - it was completely wrong. The code samples called API’s that didn’t exist and the whole explanation was based on the premise they did.

2 comments

It’s definitely wrong a lot, but that doesn’t matter since it usually points me in the right direction at least. And in some cases, I can tell it that it’s wrong and it will try again and give a better result.

Compared to google/SO, I’d say that the amount of wrong/inaccurate answers are about the same, but GPT requires a lot less effort.

Exactly!

I had it make up functionality of a python library and then make calls to functions that don't exist.

I imagine the further you move away from popularity, the more of a bullshitter chatGPT becomes.