Skip to main content

guardrails-ai-politeness-check

Ensure generated output is polite.

Installation

pip install guardrails-ai-politeness-check

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

python -m guardrails_ai.politeness_check.post_install

Usage

from guardrails import Guard
from guardrails_ai.politeness_check import PolitenessCheck

guard = Guard().use(PolitenessCheck)

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

guardrails_ai_politeness_check-0.0.3.tar.gz (3.8 kB view details)

Uploaded Source

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_politeness_check-0.0.3.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_politeness_check-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1b7da7fa04fb553dce1a494eea8c2a83e77770d60c69c8f00e4d1f01b80ac332
MD5 46908508f13c980d2716a2887ee60eff
BLAKE2b-256 d44deb8646956eb4c4ca4c31ccf4c4f34c0def3ac74e787e8c7dcb2ae5269d58

See more details on using hashes here.

File details

Details for the file guardrails_ai_politeness_check-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_politeness_check-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0508a53dda97ba62bd2a6119d192b5c2041f1bb1732d7d8c6f57fc500510a8f0
MD5 0ccf585d87b8e6cbf73dbfac61c64f3f
BLAKE2b-256 ae6d762a464e100adc4884edff06ed4020fca619dd64174b326044b5d174843c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.3 This release

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