Checks if a generated summary covers topics present in a source document.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file guardrails_ai_saliency_check-0.1.0.tar.gz.
File metadata
- Download URL: guardrails_ai_saliency_check-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcbb30c0caa8335578dfcb4690d3c6c5f3ba50a5d2c5823872d79609595e7d20
|
|
| MD5 |
00acc500cc0f2e0e456d7268fe5a88fd
|
|
| BLAKE2b-256 |
4d535420e7e575ac84fe50da598c2282725ec58cbbf454b2153e193ae716e548
|
File details
Details for the file guardrails_ai_saliency_check-0.1.0-py3-none-any.whl.
File metadata
- Download URL: guardrails_ai_saliency_check-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dc8fd4d5101f6f66f7bdb84375f80c7e4d191d68bf360ed67825209fb14fa77
|
|
| MD5 |
51fd21bcb1fde3ea342e3fab358536f5
|
|
| BLAKE2b-256 |
5bbc741f90711a470fa301df76269de02e1c6b90d1ecfbe776deb2193000b775
|