embeddings text security region:us
---
tags:
- embeddings
- text
- security
pretty_name: 'Vigil: LLM Jailbreak embeddings'
---
# Vigil: LLM Jailbreak embeddings
- **Homepage:** [github.com/deadbits/vigil-llm](https://github.com/deadbits/vigil-llm)

`Vigil` is a Python framework and REST API for assessing Large Language Model (LLM) prompts against a set of scanners to detect prompt injections, jailbreaks, and other potentially risky inputs.

This repository contains `text-embedding-ada-002` embeddings for all "jailbreak" prompts used by [Vigil](https://github.com/deadbits/pvigil-llm).

You can use the [parquet2vdb.py](https://github.com/deadbits/vigil-llm/blob/main/vigil/utils/parquet2vdb.py) utility to load the embeddings in the Vigil chromadb instance, or use them in your own application.

## Format
```json
[
  {
    "text": str,
    "embedding": [],
    "model": "text-embedding-ada-002"
    }
  }
]
```

Jailbreak prompts sourced from: https://github.com/laiyer-ai/llm-guard/blob/399cb2eea70afc78482db226253ddd1d85f296e3/llm_guard/resources/jailbreak.json