Skip to main content

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.

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_logic_check-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

guardrails_ai_logic_check-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file guardrails_ai_logic_check-0.1.0.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_logic_check-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9f87d829b2bd97bcbf1e88a99f127da8a1921544c881acef133ad65a6534dfd0
MD5 49e02efd1a522913b1c8a93fd073e52e
BLAKE2b-256 42d09a59910b9e5342413501a81b8d645368ed438e63ab7816bcb6047bef0984

See more details on using hashes here.

File details

Details for the file guardrails_ai_logic_check-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_logic_check-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8e23caab2c21dfb4bbe3df6469a0a93f82a8ca14887acd256079a5074aaefac
MD5 6c003a294708246b2491cd2cb75322d8
BLAKE2b-256 3bfb446b2f2cbd3a9459c7ce9eafc3e2cb8fc730fe6c22b76c1cc39f35e601ba

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 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