All 4,804 reports

NoChatGPT · 7 Jul 2025

When I ask ChatGPT for help writing one-off scripts using the internal library I often forget to give it more context than just `import mylib` at the top, and it almost always defaults to `mylib.imread()`

momojo on Hacker News

In the thread “Adding a feature because ChatGPT incorrectly thinks it exists”, replying to this comment

Got in the way: Lack of context caused model to hallucinate standard function names.

… I didn't know about this when designing our own bespoke image-lib at work, and went with an esoteric `image_get()` that I never bothered to refactor. When I ask ChatGPT for help writing one-off scripts using the internal library I often forget to give it more context than just `import mylib` at the top, and it almost always defaults to `mylib.imread()`.