|
--- |
|
title: Prompt Injection Detection Benchmark |
|
emoji: π |
|
colorFrom: yellow |
|
colorTo: gray |
|
sdk: gradio |
|
sdk_version: 4.7.1 |
|
pinned: true |
|
license: apache-2.0 |
|
--- |
|
|
|
Simple app to benchmark popular prompt injection detection APIs. |
|
|
|
## Requirements |
|
|
|
1. Clone the repo |
|
|
|
2. Install dependencies (preferably in a virtual environment) |
|
|
|
```sh |
|
pip install -r requirements.txt |
|
``` |
|
|
|
3. Start the app: |
|
|
|
```sh |
|
gradio app.py |
|
``` |
|
|
|
## Supported providers |
|
|
|
- HuggingFace models |
|
- [Lakera](https://lakera.ai/) |
|
- [Automorphic](https://automorphic.ai/) |
|
- [Rebuff](https://rebuff.ai/) |
|
|