Skip to main content

Using Quilr Guardrails with Litellm

Prerequisites

  • Quilr API Key from Quilr guardrails (from either self hosted Quilr guardrails or Quilr hosted)

Using with litellm

  • Add the following to your litellm config.yaml file
guardrails:
- guardrail_name: "quilr-input"
    litellm_params:
    guardrail: quilr_litellm_guardrails.QuilrGuardrail
    mode: "pre_call"

- guardrail_name: "quilr-output"
    litellm_params:
    guardrail: quilr_litellm_guardrails.QuilrGuardrail
    mode: "post_call"
  • Set the following environment variables
QUILR_GUARDRAILS_KEY=sk-quilr-XXXXXXXXX
QUILR_GUARDRAILS_BASE_URL=QUILR GUARDRAILS BASE URL

Metadata

Release files for quilr-litellm-guardrails 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 quilr-litellm-guardrails 0.1.0
File Size Uploaded Provenance Actions
quilr_litellm_guardrails-0.1.0.tar.gz 3.9 kB Without provenance Details for quilr_litellm_guardrails-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quilr-litellm-guardrails 0.1.0
File Interpreter ABI Platform Actions
quilr_litellm_guardrails-0.1.0-py3-none-any.whl Python 3 none any Details for quilr_litellm_guardrails-0.1.0-py3-none-any.whl

Total release size: 8.0 kB

Release files / quilr_litellm_guardrails-0.1.0.tar.gz

Download URL quilr_litellm_guardrails-0.1.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d52281816c5b6aec7137b8bb22f652bc1095f3754df8986cba6db3c9e8d03ba5
BLAKE2b-256 checksum
How to use checksums
97fc384d2b2500a00a1a6483693dd4f35e5c47ffa19914a65aae023a0d8c4bdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

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

Download URL quilr_litellm_guardrails-0.1.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2525e8b3643d05821752d14c7fa8333e0c045a4316422b0ade6cfcfd8d32d590
BLAKE2b-256 checksum
How to use checksums
ec02c2fe166b92a9eadac8f6a5d75ff948bab0b53cee3bffe98c77c46d1f05ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Security for quilr-litellm-guardrails 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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