Skip to main content

Checks if a value is similar to a list of previously known correct values.

Project description

guardrails-ai-similar-to-previous-values

Checks if a value is similar to a list of previously known correct values.

Installation

pip install guardrails-ai-similar-to-previous-values

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

python -m guardrails_ai.similar_to_previous_values.post_install

Usage

from guardrails import Guard
from guardrails_ai.similar_to_previous_values import SimilarToPreviousValues

guard = Guard().use(SimilarToPreviousValues)

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

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_similar_to_previous_values-0.1.0.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_similar_to_previous_values-0.1.0.tar.gz
Algorithm Hash digest
SHA256 504862e5e3d1ebcc05389adeefd63d0eaa07c26585c2135664c354c48aef525c
MD5 02809dfb0cfc07f185dd11217fa33efb
BLAKE2b-256 f53ba9cdcc0dd4df4c5152d7d032c52bde47da2775d6d0d0dc2d563cfc129a5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for guardrails_ai_similar_to_previous_values-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b35420e3236cc018ff418aecc59bf21e0800d682a85b41474085f31e06c1a29
MD5 6ec58b55f34aebe3413289bcf3151d5c
BLAKE2b-256 eddbb55106e6a4515eb8ac2c436fd5d428be3e4a8d6abd329d0e19e261b88b4c

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