Open gsproston-scottlogic opened 1 year ago
Insert the user input in between two prompts.
https://learnprompting.org/docs/prompt_hacking/defensive_measures/sandwich_defense
Each defence should include the following:
Too similar to the XML tagging defence. Just remove this?
Reopening now that the prompt enclosure defence is being added. #703 Blocked until that's merged in. merged now.
Insert the user input in between two prompts.
https://learnprompting.org/docs/prompt_hacking/defensive_measures/sandwich_defense
Each defence should include the following: