2 ms·
This is the problem with prompt injection: the obvious fixes, like escaping ala addslashes or splitting the prompt into an "instructions" section and a "data" s
by simonw 3y ago
This is the problem with prompt injection: the obvious fixes, like escaping ala addslashes or splitting the prompt into an "instructions" section and a "data" section genuinely don't work. We've tried them all.
I wrote a lot more about this here: https://simonwillison.net/series/prompt-injection/ https://simonwillison.net/series/prompt-injection/