Skip to main content

Detects attempts to circumvent safeguards in model conditioning.

Project description

guardrails-ai-detect-jailbreak

Detects attempts to circumvent safeguards in model conditioning.

Installation

pip install guardrails-ai-detect-jailbreak

This validator ships local models. After installing, run the post-install step to download them:

python -m guardrails_ai.detect_jailbreak.post_install

Usage

from guardrails import Guard
from guardrails_ai.detect_jailbreak import DetectJailbreak

guard = Guard().use(DetectJailbreak)

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

guardrails_ai_detect_jailbreak-0.1.6.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

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

guardrails_ai_detect_jailbreak-0.1.6-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file guardrails_ai_detect_jailbreak-0.1.6.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_detect_jailbreak-0.1.6.tar.gz
Algorithm Hash digest
SHA256 4ff332747531d212be5a2c5c6e2649d72c0b1451b7b0fc4dbe7539fe1ee5997f
MD5 c9b98165394642985a25a2db6b0aa81f
BLAKE2b-256 30b99591fe65ea4e2a5653cb04eab5f3713bbd8d99416ecdc31180e102289ea3

See more details on using hashes here.

File details

Details for the file guardrails_ai_detect_jailbreak-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_detect_jailbreak-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bcd782168b221d468879a03d0ba478c69f88fbb4d7f768643350e81287cedc68
MD5 d67f926494910ed95bd7df3e24bb485b
BLAKE2b-256 90c55cd6a4a5353b164d95ba9b1cbdb2aa4e1e96bc3de9a87b5f2d239d09e062

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