Skip to main content

Identifies and flags toxic language in text to ensure communications remain professional and appropriate.

Project description

guardrails-ai-toxic-language

Identifies and flags toxic language in text to ensure communications remain professional and appropriate.

Installation

pip install guardrails-ai-toxic-language

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

python -m guardrails_ai.toxic_language.post_install

Usage

from guardrails import Guard
from guardrails_ai.toxic_language import ToxicLanguage

guard = Guard().use(ToxicLanguage)

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_toxic_language-0.1.1a1.tar.gz (8.7 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_toxic_language-0.1.1a1.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_toxic_language-0.1.1a1.tar.gz
Algorithm Hash digest
SHA256 e474a9be7894b958265c5e661f3c1f1245580a5fa6329bcd854408b97ea1bffe
MD5 660c78ec1c29ab87dae8ae0f057d0db9
BLAKE2b-256 d06ed2499e61b8822ec2a2076815dda8d543fea6d185542713c0ca57040fb2e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_toxic_language-0.1.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_toxic_language-0.1.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_toxic_language-0.1.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 219b34f0184b42bad7ffd5506e8841a227d6864add5ac82faa905cfff3575053
MD5 c9376ccfdc2718f70388351c7133ba74
BLAKE2b-256 ee1d7ee91d23420972908be28030661b2ebe3194ec04b6cc6c3f4260bc37a291

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_toxic_language-0.1.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.

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