Skip to main content

guardrails-ai-relevancy-evaluator

Validates that the reference text contains information relevant to answering the original question.

Installation

pip install guardrails-ai-relevancy-evaluator

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

python -m guardrails_ai.relevancy_evaluator.post_install

Usage

from guardrails import Guard
from guardrails_ai.relevancy_evaluator import RelevancyEvaluator

guard = Guard().use(RelevancyEvaluator)

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

Uploaded Source

Built Distribution

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

File details

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

File metadata

File hashes

Hashes for guardrails_ai_relevancy_evaluator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2b5606335097ebb86ea8e6d653796c67222f082e90d619aece463df1d6ad4d68
MD5 8558b213415bb64902adddf924eb6624
BLAKE2b-256 52c9b4f850a3d3c7d5ebd56be178d1994c123e2ed7a1007443982113fb657214

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for guardrails_ai_relevancy_evaluator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb78e400b558898afe443ed6609f6a29ee339e0ec416701114dfd7fc890eceae
MD5 4a70b417c735abae9ab5c15b19076b26
BLAKE2b-256 4e3256995ceecf70813455132cf4f6ddda33a951541eeb655d108e24fe8b543c

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