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

Rename "Information Defence" and "Prompt Enclosure" #776

Open
dhinrichs-scottlogic opened this issue Jan 16, 2024 · 0 comments
Open

Rename "Information Defence" and "Prompt Enclosure" #776

dhinrichs-scottlogic opened this issue Jan 16, 2024 · 0 comments
Labels
bug Something isn't working triage New tickets to be checked by the maintainers

Comments

@dhinrichs-scottlogic
Copy link
Contributor

dhinrichs-scottlogic commented Jan 16, 2024

Bug report

Description

There are two main issues to address in this bug ticket:

1) Instruction Defence

  • In our addInfoMessage function (MainComponent.tsx) we add the following info message in the chat for the user:
    "{defence.name} defence activated"
    (e.g. "prompt enclosure defence activated")
  • Since the name of the "Instruction Defence" contains the word "defence", this results in:
    "instruction defence defence activated"

Only using "Instruction" might not be very clear. Perhaps something like "Pre-Prompt Instruction" would work.
Discuss with the team which wording to use before implementing this.

Acceptance Criteria

  • Given the user is in the sandbox environment
  • When they toggle the Information Defence on/off
  • Then they get a message in the chat without duplicated words

2) Prompt Enclosure

Further more, the "Prompt Enclosure" heading under which these defence can be found is confusing since the Instruction Defence is not enclosing the prompt, but prepending the prompt, so a different name (e.g "Prompt Transformation") would be better.
Discuss with the team which wording to use before implementing this.

Acceptance Criteria

  • The name for the section "Prompt Enclosure" is changed to something more accurate

Reproduction steps

Steps to reproduce the behaviour:

  1. Go to the "Prompt Enclosure" defence configuration
  2. Toggle the "Instruction Defence" on.
  3. See error in chat box "instruction defence defence activated"

Expected behaviour

Clear names, no duplicating words

Screenshots

Image

Additional context

Add any other context about the problem here.

Acceptance criteria

GIVEN some setup
WHEN an action happens
THEN the expected outcome

@dhinrichs-scottlogic dhinrichs-scottlogic added bug Something isn't working triage New tickets to be checked by the maintainers labels Jan 16, 2024
@dhinrichs-scottlogic dhinrichs-scottlogic changed the title Rename "Instruction Defence" and "Prompt Enclosure" Prompt Enclosure: Issues with IDs and names Jan 18, 2024
@dhinrichs-scottlogic dhinrichs-scottlogic changed the title Prompt Enclosure: Issues with IDs and names Rename "Information Defence" and "Prompt Enclosure" Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage New tickets to be checked by the maintainers
Projects
None yet
Development

No branches or pull requests

1 participant