File size: 561 Bytes
1ac28b0
417ac9a
 
 
 
1ac28b0
6aa9546
417ac9a
1ac28b0
 
 
417ac9a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
title: Prompt Injection Detection Benchmark
emoji: πŸ“
colorFrom: yellow
colorTo: gray
sdk: gradio
sdk_version: 4.8.0
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/)