Closed gsproston-scottlogic closed 1 year ago
yes the xml tagging pre prompt can be configured but i cannot get rid of it if i want to
@dhinrichs-scottlogic @gsproston-scottlogic
@asaha-scottlogic Not sure what you mean by "cannot get rid of it". You cannot leave the box empty, that's by design, and you see a warning message when you try (although admittedly not the clearest warning in the world):
You can deactivate the defence if you don't want it.
As discussed in the daily, this might need the .env file updating.
looks ok
Usually the XML tagging defence is paired with a pre-prompt, just like RSE. Add this in, and make it configurable.
An example can be seen here: https://learnprompting.org/docs/prompt_hacking/defensive_measures/xml_tagging