zlacker

[parent] [thread] 1 comments
1. tastys+(OP)[view] [source] 2025-05-06 22:51:37
Re hallucinating APIs that don't exist - I find this with Golang sometimes. I wonder if it's because the training data doesn't just consist of all the docs and source code, but potentially feature proposals that never made it into the language.

Regexes are another area where I can't get much help from LLMs. If it's something common like a phone number, that's fine. But anything novel it seems to have trouble. It will spit out junk very confidently.

replies(1): >>robine+op
2. robine+op[view] [source] 2025-05-07 03:40:19
>>tastys+(OP)
Since it's trained on a vast a mount of code (probably all publicly accessible Go code and more), it's seen a vast amount of different bespoke APIs for doing all kinds of things. I'm sure some of that will leak into the output from time to time. And to some extent can generalize, so it may just invent APIs.
[go to top]