this post was submitted on 12 Jul 2025
375 points (100.0% liked)

Programming

21567 readers
277 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 2 days ago (2 children)

Claude AI does this ALL the time too. It NEEDS to give a solution, it rarely can say "I don't know" so it will just completely make up a solution that it thinks is right without actually checking to see the solution exists. It will make/dream up programs or libraries that don't and have never existed OR it will tell you something can do something when it has never been able to do that thing ever.

And that's just how all these LLMs have been built. they MUST provide a solution so they all lie. they've been programmed this way to ensure maximum profits. Github Copilot is a bit better because it's with me in my code so it's suggestions, most of the time, actually work because it can see the context and whats around it. Claude is absolute garbage, MS Copilot is about the same caliber if not worse than Claude, and Chatgpt is only good for content writing or bouncing ideas off of.

[–] [email protected] 25 points 2 days ago (2 children)

LLM are just sophisticated text predictions engine. They don't know anything, so they can't produce an "I don't know" because they can always generate a text prediction and they can't think.

[–] [email protected] 5 points 2 days ago (1 children)

Tool use, reasoning, chain of thought, those are the things that set llm systems apart. While you are correct in the most basic sense, it's like saying a car is only a platform with wheels, it's reductive of the capabilities

[–] [email protected] 4 points 1 day ago (1 children)

LLM are prediction engine. They don't have knowledge, they only chain words together related to your topic.

They don't know they are wrong because they just don't know anything period.

[–] [email protected] 3 points 1 day ago

They have a point, chatbots are built on top of LLMs, they arent just LLMs.

[–] [email protected] 2 points 1 day ago (1 children)

They could be programmed to do some double/triple checking, and return "i dont know" when the checks are negative. I guess that would compromise the apparence of oracle that their parent companies seem to dissimulately push onto them.

[–] [email protected] 6 points 1 day ago* (last edited 1 day ago) (1 children)

they don't check. you gotta think in statistics terms.

based on the previously inputed words (tokens actually, but I'll use words for the sake of simplicity), which is the system prompt + user prompt, the LLM generates a list of the next possible words that makes most sense, then picks one from the top few. How much it goes down the list on lower possible words is based on temperature configuration. Then the next word, and the next, etc, each time looking back.

I haven't checked on the reasoning models, what that step actually does, but I assume it just expands the user prompt to fill in stuff that thr LLM thinks the user was lazy to input, then works on the final answer.

so basically is like tapping on your phone keyboard next word prediction.

[–] [email protected] 2 points 1 day ago (1 children)

The chatbots are not just LLMs though. They run scripts in which some steps are queries to an LLM.

[–] [email protected] 1 points 1 day ago (1 children)

ok.. what are you trying to point out?

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago)

That the script could incorporate some checking mechanisms and implement an "i dont know" for when the LLMs answers fails some tests.

They already do some of that but for other purposes, like censoring, or as by recent news, grok looks up musks opinions before answering questions, or to make more accurate math calculations they actually call a normal calculator, and so on...

They could make the LLM produce an answer A, then look up the question on google and ask that LLM to "compare" answer A with the main google results looking for inconsistencies and then return "i dont know" if its too inconsistent. Its not a rigorous test, but its something, and im sure the actual devs of those chatbots could make something much better than my half baked idea.

[–] [email protected] 3 points 1 day ago

Are you using Claude web chat or Claude code? Because my experience with it is vastly different eve when using the same underlying model. Clause code isn't perfect and gets stuff wrong, but it can run the project check the output and realize it's mistake and fix it in many cases. It doesn't fix logic flaws, but it can fix hallucinations of library methods that don't exist.