this post was submitted on 16 May 2026
176 points (98.9% liked)

Programming Humor

3427 readers
28 users here now

Related Communities !programmerhumor@lemmy.ml !programmer_humor@programming.dev !programmerhumor@kbin.social !programming_horror@programming.dev

Other Programming Communities !programming@beehaw.org !programming@programming.dev !programming@lemmy.ml !programming@kbin.social !learn_programming@programming.dev !functional_programming@programming.dev !embedded_prog@lemmy.ml

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Miaou@jlai.lu 3 points 1 day ago (1 children)

This is how you end up with made figures, because the generated query forgot a WHERE clause and no one's there to check it

[โ€“] pixxelkick@lemmy.world 1 points 1 day ago

See my post for how I'd solve this problem above here: https://lemmy.world/post/46926396/23775592

The tl;dr of it is there are ways to engineer this so the LLM doesnt get to "make up" data, the LLMs job is to just compose the query, and then it gets run against the DB and that returns to the user directly, preventing the LLM from just making shit up.

MCP Tools are powerful as hell for this, and its actually very viable to do.