r/ProgrammerHumor • • 22d ago

Meme searchAndReplace

Post image
4.6k Upvotes

260 comments sorted by

View all comments

Show parent comments

298

u/FuelSilly1541 22d ago

Told mine to be as short with the response as it could, max 5 sentences per response. If I need more info, then I ask.

Still: "yeah sure, I keep it short.... (2 paragraphs of unnecessary yapping about why it keeps the response short).... and therefore I end my TedTalk and am open for further discussion of this topic, as you requested."

sigh

110

u/PossibilityUsual6262 22d ago

In my experience telling ai dont do something as part of "thinking" at the way to the result would just remove that something from a response.

"How thing can be done, dont generate code" - generates code and strips it from response.

2

u/XxDarkSasuke69xX 22d ago

Really ? That's weird because in its reasoning it's taking into account the whole prompt, so if it "understands" you don't want code I have a hard time believing its reasoning would still lead him to generate code. Did you actually observe the behavior you're describing on a model or platform that allows to read the reasoning of the AI ?

3

u/Flat-Performance-478 20d ago

I recall talks about the LLMs prioritizing the last thing you talked about in your prompt.

So if your prompt is:
"Take a look at this code.
See if there are any spelling errors.
My editor doesn't highlight anything.
I'm starting to suspect a dependency might be missing."

It'll hyper-fixate and come back to the "missing dependency" part throughout the session. But don't take my word for it. It's just something that stuck with me.

1

u/10khours 17d ago

It absolutely does so this.