๐Ÿ’พVector database

The vectordb scanner uses a vector database loaded with embeddings of known injection and jailbreak techniques and compares the submitted prompt via similarity search. If the prompt matches within a defined threshold, it will be flagged as potential prompt injection.

This scanner uses ChromaDB with cosine distance as the back-end database. A lower distance score indicates higher similarity.

All embeddings are available on HuggingFace and listed in the Datasets section.

Last updated