guardrails-ai-logic-check
Validates logical consistency and detects logical fallacies in the model output. Attempts to correct logical fallacies if found.
Installation
pip install guardrails-ai-logic-check
This validator ships local models. After installing, run the post-install step to download them:
python -m guardrails_ai.logic_check.post_install
Usage
from guardrails import Guard
from guardrails_ai.logic_check import LogicCheck
guard = Guard().use(LogicCheck)
License
MIT — © Guardrails AI.
Metadata
Release files for guardrails-ai-logic-check 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| guardrails_ai_logic_check-0.1.0.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| guardrails_ai_logic_check-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / guardrails_ai_logic_check-0.1.0.tar.gz
| Download URL | guardrails_ai_logic_check-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f87d829b2bd97bcbf1e88a99f127da8a1921544c881acef133ad65a6534dfd0
|
|
BLAKE2b-256 checksum How to use checksums |
42d09a59910b9e5342413501a81b8d645368ed438e63ab7816bcb6047bef0984
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / guardrails_ai_logic_check-0.1.0-py3-none-any.whl
| Download URL | guardrails_ai_logic_check-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8e23caab2c21dfb4bbe3df6469a0a93f82a8ca14887acd256079a5074aaefac
|
|
BLAKE2b-256 checksum How to use checksums |
3bfb446b2f2cbd3a9459c7ce9eafc3e2cb8fc730fe6c22b76c1cc39f35e601ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|