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
11 stars 9 forks source link

712 Show error when unable to get document to view #868

Closed pmarsh-scottlogic closed 3 months ago

pmarsh-scottlogic commented 3 months ago

Description

A DocumentMeta is a set of information about a retrieval document in the backend (e.g, uri, filename, type etc). We retrieve a list of documentMetas when the DocumentViewBox component mounts. If we fail to retrieve these from the backend, then we show an error message.

Screenshots

image

Concerns

Checklist

Have you done the following?