Skip to main content

guardrails-ai-saliency-check

Checks if a generated summary covers topics present in a source document.

Installation

pip install guardrails-ai-saliency-check

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

python -m guardrails_ai.saliency_check.post_install

Usage

from guardrails import Guard
from guardrails_ai.saliency_check import SaliencyCheck

guard = Guard().use(SaliencyCheck)

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_saliency_check-0.1.0.tar.gz (5.5 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_saliency_check-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for guardrails_ai_saliency_check-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fcbb30c0caa8335578dfcb4690d3c6c5f3ba50a5d2c5823872d79609595e7d20
MD5 00acc500cc0f2e0e456d7268fe5a88fd
BLAKE2b-256 4d535420e7e575ac84fe50da598c2282725ec58cbbf454b2153e193ae716e548

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for guardrails_ai_saliency_check-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7dc8fd4d5101f6f66f7bdb84375f80c7e4d191d68bf360ed67825209fb14fa77
MD5 51fd21bcb1fde3ea342e3fab358536f5
BLAKE2b-256 5bbc741f90711a470fa301df76269de02e1c6b90d1ecfbe776deb2193000b775

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