Skip to main content

Finds prompt injection using the Rebuff prompt library.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file guardrails_ai_detect_prompt_injection-0.1.0.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_detect_prompt_injection-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b8e1e79521d3fee0d28e0c2fce28f0c9f7472ab1af8c36bd46de2a2233461939
MD5 e5a96250b2dd40964d50cb3fbd7d820b
BLAKE2b-256 f1051994859e435fec68a713bddc1dd9bc916f06792dafa733d36da06004a122

See more details on using hashes here.

File details

Details for the file guardrails_ai_detect_prompt_injection-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_detect_prompt_injection-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7fa24b98859b189df71ff3ee47044477c1ac255eac591fbf899030099ddc1d60
MD5 c4e603ede0c3b75585caa01029da0ecd
BLAKE2b-256 7ad4dc9dab81c348acbb065b7cd1151a4f78cfd1eef6a67e024a626e7442a206

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page