-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
feat: add GraySwan Guardrails support #15756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add GraySwan Guardrails support #15756
Conversation
@uc4w6c is attempting to deploy a commit to the CLERKIEAI Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for creating this integration!
# GraySwan Cygnal Guardrail | ||
|
||
Use [GraySwan Cygnal](https://docs.grayswan.ai/cygnal/monitor-requests) to continuously monitor conversations for policy violations, indirect prompt injection (IPI), jailbreak attempts, and other safety risks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use "Gray Swan" throughout the doc instead of "GraySwan"
api_key: Optional[str] = Field( | ||
default=None, | ||
description="API key for GraySwan. Reads from the `GRAYSWAN_API_KEY` environment variable when omitted.", | ||
) | ||
api_base: Optional[str] = Field( | ||
default=None, | ||
description="Override for the GraySwan API base URL. Defaults to https://api.grayswan.ai and can be set via `GRAYSWAN_API_BASE`.", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Gray Swan" here instead of "GraySwan" as another example
@agrattan0820 |
Title
add GraySwan Guardrails support
Relevant issues
#N/A
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
tests/litellm/
directory, Adding at least 1 test is a hard requirement - see detailsmake test-unit
Type
🆕 New Feature
📖 Documentation
✅ Test
Changes