mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
✨ (Feat) Log Guardrails run, guardrail response on logging integrations (#7445)
* add guardrail_information to SLP * use standard_logging_guardrail_information * track StandardLoggingGuardrailInformation * use log_guardrail_information * use log_guardrail_information * docs guardrails * docs guardrails * update quick start * fix presidio logging for sync functions * update Guardrail type * enforce add_standard_logging_guardrail_information_to_request_data * update gd docs
This commit is contained in:
parent
9efb076037
commit
6ec5ed8b3c
14 changed files with 223 additions and 29 deletions
|
@ -3038,6 +3038,9 @@ def get_standard_logging_object_payload(
|
|||
response_cost_failure_debug_info=kwargs.get(
|
||||
"response_cost_failure_debug_information"
|
||||
),
|
||||
guardrail_information=metadata.get(
|
||||
"standard_logging_guardrail_information", None
|
||||
),
|
||||
)
|
||||
|
||||
return payload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue