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

741 fix backend chat history message types #803

Closed pmarsh-scottlogic closed 7 months ago

pmarsh-scottlogic commented 7 months ago

This PR is the result of a change request in #800 . It was deemed a large enough change to warrant a second PR. This branch came of the branch for the first PR. This PR should be merged after #800.

Description

Tightens up the types for the backend's chat message history. No functional change.

Notes

Checklist

Have you done the following?