ScottLogic / prompt-injection

Application which investigates defensive measures against prompt injection attacks on an LLM, with a focus on the exposure of external tools.
MIT License
15 stars 10 forks source link

715 defence successfully configured message should not disappear after a delay #778

Closed dhinrichs-scottlogic closed 7 months ago

dhinrichs-scottlogic commented 7 months ago

Description

Previously, when a user changed or reset the text or number inputs of the defence and model configurations, a message would pop up for 3 seconds to indicate to the user that the change has been made. This can easily be missed, which is why I moved this message to the chat, where the user already gets updates when defences get toggled on/off. Additionally, I added an info message for the GPT model selection and the model sliders

Screenshots

Before:

image

After:

image

Notes

Concerns

Checklist

Have you done the following?

pmarsh-scottlogic commented 7 months ago

this change interacts amusingly with this bug #742 Not something to block this PR, but we should prioritise the bug once this is in

image

dhinrichs-scottlogic commented 7 months ago

This all turned out much more complicated than anticipated, so after some discussion decided to approach it slightly differently and started again from scratch. New PR: https://github.com/ScottLogic/prompt-injection/pull/802