guardrails-ai-detect-prompt-injection
Finds prompt injection using the Rebuff prompt library.
Installation
pip install guardrails-ai-detect-prompt-injection
This validator ships local models. After installing, run the post-install step to download them:
python -m guardrails_ai.detect_prompt_injection.post_install
Usage
from guardrails import Guard
from guardrails_ai.detect_prompt_injection import DetectPromptInjection
guard = Guard().use(DetectPromptInjection)
License
MIT — © Guardrails AI.
Metadata
Release files for guardrails-ai-detect-prompt-injection 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| guardrails_ai_detect_prompt_injection-0.1.0.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| guardrails_ai_detect_prompt_injection-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / guardrails_ai_detect_prompt_injection-0.1.0.tar.gz
| Download URL | guardrails_ai_detect_prompt_injection-0.1.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8e1e79521d3fee0d28e0c2fce28f0c9f7472ab1af8c36bd46de2a2233461939
|
|
BLAKE2b-256 checksum How to use checksums |
f1051994859e435fec68a713bddc1dd9bc916f06792dafa733d36da06004a122
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / guardrails_ai_detect_prompt_injection-0.1.0-py3-none-any.whl
| Download URL | guardrails_ai_detect_prompt_injection-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fa24b98859b189df71ff3ee47044477c1ac255eac591fbf899030099ddc1d60
|
|
BLAKE2b-256 checksum How to use checksums |
7ad4dc9dab81c348acbb065b7cd1151a4f78cfd1eef6a67e024a626e7442a206
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|