Skip to main content
Pre-release

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

guardrails-ai-shieldgemma-2b

A Gemma based validator for moderating user prompts to guard against harmful content by specifying a policy.

Installation

pip install guardrails-ai-shieldgemma-2b

Usage

from guardrails import Guard
from guardrails_ai.shieldgemma_2b import ShieldGemma2B

guard = Guard().use(ShieldGemma2B)

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_shieldgemma_2b-0.2.1a1.tar.gz (5.8 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_shieldgemma_2b-0.2.1a1.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_shieldgemma_2b-0.2.1a1.tar.gz
Algorithm Hash digest
SHA256 2faef4f70e412ac81a70c46f310653dbc121d65beed6634216a8a1456f4f0091
MD5 bf975f70099d26c1d3d71a65eb87cfb7
BLAKE2b-256 2a5da6120cd3f3d92f7ebf76363f541297b900030e18546fbff0fd7165a7d086

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_shieldgemma_2b-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_shieldgemma_2b-0.2.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_shieldgemma_2b-0.2.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 2df8f4190817dd03d8084da95df1c5e9bd4d512116bc92a20822d7f9f7790fd1
MD5 8ea0f4d6ca3fd1d17f0247a8ce5430ac
BLAKE2b-256 1ec8bc0ed1a6570a74ccd491865c5b63bf2761df9ebc6ad611634350cde98d72

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_shieldgemma_2b-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

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page