Skip to main content

A Guardrails AI input validator that validates a prompt for unusualness and trickery.

Project description

guardrails-ai-unusual-prompt

A Guardrails AI input validator that validates a prompt for unusualness and trickery.

Installation

pip install guardrails-ai-unusual-prompt

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

python -m guardrails_ai.unusual_prompt.post_install

Usage

from guardrails import Guard
from guardrails_ai.unusual_prompt import UnusualPrompt

guard = Guard().use(UnusualPrompt)

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_unusual_prompt-0.0.2.tar.gz (5.0 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_unusual_prompt-0.0.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file guardrails_ai_unusual_prompt-0.0.2.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_unusual_prompt-0.0.2.tar.gz
Algorithm Hash digest
SHA256 11f6008ddb92e5557809ad164a1e8e2bc6f387db4d962eea4bf697273eb34830
MD5 eab71dde49e6a7a46cbfca660ef80af4
BLAKE2b-256 556473f294c79628135d91d9fff9489709b60e4289f8e44d14e3d4b1c7436776

See more details on using hashes here.

File details

Details for the file guardrails_ai_unusual_prompt-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_unusual_prompt-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ffb1148b2c08ea10dcb08ebdb108b5f22e46b4cc951de1738b9fda1144c3d813
MD5 4de1201b66f74c526f4bfe7bf155d148
BLAKE2b-256 a879a4bf864ef775730a68b7e437a3ee5b6e88c0ef0e86dc829f61c23d2f4d22

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