Metadata-Version: 2.4
Name: guardrails-ai-bias-check
Version: 0.3.1
Summary: Validates that the text is free from biases related to age, gender, sex, ethnicity, religion, etc.
Author-email: Guardrails AI <contact@guardrailsai.com>
License-Expression: MIT
Project-URL: Homepage, https://guardrailsai.com
Project-URL: Repository, https://github.com/guardrails-ai/guardrails-hub/tree/main/bias_check/py
Project-URL: Documentation, https://guardrails-ai.github.io/guardrails-hub/autoapi/guardrails_ai/bias_check/index.html
Requires-Python: <4,>=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: guardrails-ai>=0.5.15
Requires-Dist: transformers<5.0,>=4.37.0
Requires-Dist: tf-keras
Requires-Dist: sentencepiece
Requires-Dist: tensorflow>=2.16.0
Requires-Dist: sentence-splitter>=1.4
Provides-Extra: dev
Requires-Dist: ruff; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: coverage>=7.6.12; extra == "dev"
Requires-Dist: pyright[nodejs]>=1.1.396; extra == "dev"
Dynamic: license-file

# guardrails-ai-bias-check

Validates that the text is free from biases related to age, gender, sex, ethnicity, religion, etc.

## Installation

```bash
pip install guardrails-ai-bias-check
```

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

```bash
python -m guardrails_ai.bias_check.post_install
```

## Usage

```python
from guardrails import Guard
from guardrails_ai.bias_check import BiasCheck

guard = Guard().use(BiasCheck)
```

## License

MIT — © Guardrails AI.
