Default On Guardrails and output #24909
Unanswered
pierrelouisbess
asked this question in
Q&A
Replies: 1 comment
-
|
For (1), you can set guardrails to default-on via the config YAML rather than the UI. Under your For (2), the masked/modified prompt sent to the LLM is not currently exposed in the standard logs UI. A workaround is to add a custom callback ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi !
I have 2 question about guardrails :
1)
I'm new to Litellm and the guardrails generated by policy templates, and I'd like to know if it's possible to automatically set them all to “default on”?
Currently, I have to manually click on each guardrail, edit it, and set it to “default on.”
I've been testing pre-call guardrails, and I'd like to know if it's possible to see the output sent to the LLM after my guardrail's (Mask) action. Currently, I can only see the user's unmasked request and the LLM's response, but not the prompt that has been modified into output by the guardrails.
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions