forked from phoenix/litellm-mirror
docs(enterprise.md): add llm guard to docs
This commit is contained in:
parent
14513af2e2
commit
fde478f70b
2 changed files with 33 additions and 1 deletions
|
@ -66,7 +66,9 @@ class _ENTERPRISE_LLMGuard(CustomLogger):
|
|||
analyze_url, json=analyze_payload
|
||||
) as response:
|
||||
redacted_text = await response.json()
|
||||
|
||||
verbose_proxy_logger.info(
|
||||
f"LLM Guard: Received response - {redacted_text}"
|
||||
)
|
||||
if redacted_text is not None:
|
||||
if (
|
||||
redacted_text.get("is_valid", None) is not None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue