logoalt Hacker News

__MatrixMan__yesterday at 2:16 PM1 replyview on HN

It's polite to give parsers (human or otherwise) hints that they're about to encounter text which is now intended for a different kind of parser.

I recently forgot to surround my code in ``` and Gemini refused to help with it (I think I tripped a safety guardrail, it thought I was targeting it with an injection attack). Amusingly, the two ways to work around it were to fence off my code with backticks or to just respond to:

> I can't help you with that

With

> Why not?

After which it was then willing to help with the unquoted code. Presumably it then perceived it as some kind of philosophical puzzle rather than an attack.


Replies

jlaroccoyesterday at 4:34 PM

It's disappointing to see people here use language like "perceived" for an LLM.

show 1 reply