Skip to main content

A Guardrails AI validator that detects and removes hallucinated text based off Wikipedia

Project description

guardrails-ai-wiki-provenance

A Guardrails AI validator that detects and removes hallucinated text based off Wikipedia

Installation

pip install guardrails-ai-wiki-provenance

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

python -m guardrails_ai.wiki_provenance.post_install

Usage

from guardrails import Guard
from guardrails_ai.wiki_provenance import WikiProvenance

guard = Guard().use(WikiProvenance)

License

MIT — © Guardrails AI.

Project details


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_wiki_provenance-0.0.2.tar.gz (8.0 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_wiki_provenance-0.0.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file guardrails_ai_wiki_provenance-0.0.2.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_wiki_provenance-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f4d52a509e080c945c3da32b032a9a2edb71f8653fd296992c64c1bcb9d0c373
MD5 6e55aff3eec39e099a3f05916d855659
BLAKE2b-256 a9d0edf97598435e420bf3142d0bd3492491d6478c8d54ef7b1dfc58b5f035a6

See more details on using hashes here.

File details

Details for the file guardrails_ai_wiki_provenance-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_wiki_provenance-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aa44104323c80789813d4718896b6421668883af706e015c3074caf884767c06
MD5 9aa050c81b68958845ef9437ad4728b0
BLAKE2b-256 b3979668daadbb3b0396c59fc61d024ed32bf5097e4eb1a30ae39b134f23888f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page