Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

guardrails-ai-detect-system-prompt-leakage

Detects system prompt leakage using fuzzy string matching (via rapidfuzz) to compare the LLM's response against a provided system prompt

Installation

pip install guardrails-ai-detect-system-prompt-leakage

Usage

from guardrails import Guard
from guardrails_ai.detect_system_prompt_leakage import DetectSystemPromptLeakage

guard = Guard().use(DetectSystemPromptLeakage)

License

MIT — © Guardrails AI.

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_system_prompt_leakage-0.2.1a1.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_detect_system_prompt_leakage-0.2.1a1.tar.gz
Algorithm Hash digest
SHA256 3774bd53e99c6f84efcbed74fdddb4d26aca813e9023a6b801a47f181867f801
MD5 133e41f3883628718585652b7798517f
BLAKE2b-256 2b9c23d7d135676d83db1ab9db138f8b1dd23bf844092c817af7baf7fc9b4a4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_detect_system_prompt_leakage-0.2.1a1.tar.gz:

Publisher: validators_publish.yml on guardrails-ai/guardrails-hub-monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file guardrails_ai_detect_system_prompt_leakage-0.2.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_detect_system_prompt_leakage-0.2.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 d105e7e50d13add53f8816917a5c2cb524dc6f2342e8ca25d295ef6a62884fc7
MD5 a40b3677606b1297e2dfac0781a53194
BLAKE2b-256 dfbd689a1e86c09fa6c5c0166dcc2ea005f6bb175393be3821694010db307bdd

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_detect_system_prompt_leakage-0.2.1a1-py3-none-any.whl:

Publisher: validators_publish.yml on guardrails-ai/guardrails-hub-monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.1a1 This release

2 files

0.1.0

2 files

Supported by

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