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

742 stop model slider sending request when value is not changed #801

Closed pmarsh-scottlogic closed 7 months ago

pmarsh-scottlogic commented 7 months ago

Description

If the user grabs the slider, slides it about then sets it back on the value it was at the start, then we don't do any configuring.

Screenshots

image

Concerns

I've realised the code changed in this ticket overlaps with #778. We will have to decide if we want to show "model temperature set to x" if the value wasn't changed. I vote not.

Checklist

Have you done the following?