Skip to main content

guardrails-ai-llamaguard-7b

A llama based validator which checks whether a given prompt is safe/unsafe by specifying a set of policies and lists the violating policies when applicable.

Installation

pip install guardrails-ai-llamaguard-7b

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

python -m guardrails_ai.llamaguard_7b.post_install

Usage

from guardrails import Guard
from guardrails_ai.llamaguard_7b import LlamaGuard7B

guard = Guard().use(LlamaGuard7B)

License

MIT — © Guardrails AI.

Metadata

Release files for guardrails-ai-llamaguard-7b 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for guardrails-ai-llamaguard-7b 0.1.0
File Size Uploaded Provenance
guardrails_ai_llamaguard_7b-0.1.0.tar.gz 4.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for guardrails-ai-llamaguard-7b 0.1.0
File Interpreter ABI Platform
guardrails_ai_llamaguard_7b-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / guardrails_ai_llamaguard_7b-0.1.0.tar.gz

Download URL guardrails_ai_llamaguard_7b-0.1.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
27b1478f2773b49f1ba0045a8444de671d0be8dc9e85b5bb89aacce172a6b983
BLAKE2b-256 checksum
How to use checksums
515e94cf18aad45c6538246fe07d19b17b80829498e64d105fc9c511764ecfca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / guardrails_ai_llamaguard_7b-0.1.0-py3-none-any.whl

Download URL guardrails_ai_llamaguard_7b-0.1.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac874c381c54709e174df2bf6cbd9083ee87562bc0150e997bc495736459bd35
BLAKE2b-256 checksum
How to use checksums
cb15d2cc390b7b06a25e0b48ee19a5c66bf31006f9fbab28f3225254fe3bbe7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for guardrails-ai-llamaguard-7b 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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