Validates that the output does not contain banned words, using fuzzy search.
Project description
guardrails-ai-ban-list
Validates that the output does not contain banned words, using fuzzy search.
Installation
pip install guardrails-ai-ban-list
This validator ships local models. After installing, run the post-install step to download them:
python -m guardrails_ai.ban_list.post_install
Usage
from guardrails import Guard
from guardrails_ai.ban_list import BanList
guard = Guard().use(BanList)
License
MIT — © Guardrails AI.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file guardrails_ai_ban_list-0.1.0.tar.gz.
File metadata
- Download URL: guardrails_ai_ban_list-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e547c24e69eb45bb2d483d8aa79b302568c2057d8b5c3f47b0a6aff20e67a2a6
|
|
| MD5 |
475700d1228be4bd05959a6fb8712ab3
|
|
| BLAKE2b-256 |
94498ab9d0d8cf475e0b501399971010d220e4b5caf7ed9945d885a94878f21d
|
File details
Details for the file guardrails_ai_ban_list-0.1.0-py3-none-any.whl.
File metadata
- Download URL: guardrails_ai_ban_list-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c685527dc6f808d43bcc81e587b21e6ce20f4f855f248ec089959458c69b7bde
|
|
| MD5 |
9aebba722745c6445894840cda04ce23
|
|
| BLAKE2b-256 |
d306f7e79429d68159af2a9a2504bf09dcc024eabacb036845da63f67c43f295
|