Skip to main content

guardrails-ai-provenance-nli

Detects and removes hallucinations from LLM-generated text using an NLI model to validate it against a provided context.

Installation

pip install guardrails-ai-provenance-nli

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

python -m guardrails_ai.provenance_nli.post_install

Usage

from guardrails import Guard
from guardrails_ai.provenance_nli import ProvenanceNLI

guard = Guard().use(ProvenanceNLI)

License

MIT — © Guardrails AI.

Metadata

Release files for guardrails-ai-provenance-nli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for guardrails-ai-provenance-nli 0.1.0
File Size Uploaded Provenance
guardrails_ai_provenance_nli-0.1.0.tar.gz 7.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for guardrails-ai-provenance-nli 0.1.0
File Interpreter ABI Platform
guardrails_ai_provenance_nli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.9 kB

Release files / guardrails_ai_provenance_nli-0.1.0.tar.gz

Download URL guardrails_ai_provenance_nli-0.1.0.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
234a56b5e10c20fb9a69211dabd31c679c70ce90ba52c5e0a70ac38bc74e620c
BLAKE2b-256 checksum
How to use checksums
15b68befa0f280070524fb2f34a1d4b597bba97743470743b2500aee3fff2a2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / guardrails_ai_provenance_nli-0.1.0-py3-none-any.whl

Download URL guardrails_ai_provenance_nli-0.1.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5596ea87bc0f3f784d50b2f4be0afba805d93bf27bd5ecfe5a01fc4238e1187f
BLAKE2b-256 checksum
How to use checksums
391cc64c9d7c95899409c418f2828d6c6d0086fd1fb44f7027b0bac2f951ea88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for guardrails-ai-provenance-nli 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page