Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defence - XML tagging #17

Closed
gsproston-scottlogic opened this issue Jul 13, 2023 · 0 comments · Fixed by #34
Closed

Defence - XML tagging #17

gsproston-scottlogic opened this issue Jul 13, 2023 · 0 comments · Fixed by #34
Labels
backend Requires work on the backend enhancement New feature or request frontend Requires work on the frontend

Comments

@gsproston-scottlogic
Copy link
Contributor

gsproston-scottlogic commented Jul 13, 2023

Surround the user input with XML tags.

https://learnprompting.org/docs/prompt_hacking/defensive_measures/xml_tagging

Each defence should include the following:

  • A frontend component for the defensive measure on the left side bar.
  • Checkbox to toggle the defensive measure.
  • Some way to get a description of the defensive measure.
  • Pulsing the defensive measure component when it captures malicious content.
@gsproston-scottlogic gsproston-scottlogic added enhancement New feature or request frontend Requires work on the frontend backend Requires work on the backend defence labels Jul 13, 2023
@heatherlogan-scottlogic heatherlogan-scottlogic linked a pull request Jul 18, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Requires work on the backend enhancement New feature or request frontend Requires work on the frontend
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants