Quilr Guardrails Integration for LiteLLM
Project description
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
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quilr_litellm_guardrails-0.1.0.tar.gz.
File metadata
- Download URL: quilr_litellm_guardrails-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d52281816c5b6aec7137b8bb22f652bc1095f3754df8986cba6db3c9e8d03ba5
|
|
| MD5 |
cd9e15f4c38c56da7f62adc04f38ba4e
|
|
| BLAKE2b-256 |
97fc384d2b2500a00a1a6483693dd4f35e5c47ffa19914a65aae023a0d8c4bdd
|
File details
Details for the file quilr_litellm_guardrails-0.1.0-py3-none-any.whl.
File metadata
- Download URL: quilr_litellm_guardrails-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2525e8b3643d05821752d14c7fa8333e0c045a4316422b0ade6cfcfd8d32d590
|
|
| MD5 |
128738e24e539dd1eae15f3980bd1fef
|
|
| BLAKE2b-256 |
ec02c2fe166b92a9eadac8f6a5d75ff948bab0b53cee3bffe98c77c46d1f05ad
|