fix make lakera ai free guardrail

This commit is contained in:
Ishaan Jaff 2024-08-20 14:03:22 -07:00
parent cad0352f76
commit 1a142053e5
4 changed files with 30 additions and 26 deletions

View file

@ -125,7 +125,7 @@ def init_guardrails_v2(all_guardrails: dict):
)
litellm.callbacks.append(_aporia_callback) # type: ignore
elif litellm_params["guardrail"] == "lakera":
from litellm.proxy.enterprise.enterprise_hooks.lakera_ai import (
from litellm.proxy.guardrails.guardrail_hooks.lakera_ai import (
lakeraAI_Moderation,
)