Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

guardrails-ai-contains-string

A Guardrails AI validator to check if the LLM-generated text contains a substring.

Installation

pip install guardrails-ai-contains-string

Usage

from guardrails import Guard
from guardrails_ai.contains_string import ContainsString

guard = Guard().use(ContainsString)

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_contains_string-0.2.1a1.tar.gz (3.4 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_contains_string-0.2.1a1.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_contains_string-0.2.1a1.tar.gz
Algorithm Hash digest
SHA256 a1e66659cdb228b0b89c6c38d867cc4450556de66d8f3e1a9ba4012f32712641
MD5 7720ad1116c72976d48c693795589d42
BLAKE2b-256 54835d8791b0e26d3b681b7fb8f51fa85c3c37172cea9385e4ead0b9a000c3f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_contains_string-0.2.1a1.tar.gz:

Publisher: validators_publish.yml on guardrails-ai/guardrails-hub-monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file guardrails_ai_contains_string-0.2.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_contains_string-0.2.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc32ddb4fba6a423314d6954d8bda61edde8992445c2feb5aa6cdfbf45b70c4a
MD5 8d8fe268d901c8b5c3f0020de689a8f2
BLAKE2b-256 a6a433bef8a448789e8f4b03d8c1852bd70467b532c31a7598e1e880208fc56c

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_contains_string-0.2.1a1-py3-none-any.whl:

Publisher: validators_publish.yml on guardrails-ai/guardrails-hub-monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.1a1 This release

2 files

0.1.0

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