Commit graph

8 commits

Author SHA1 Message Date
Krrish Dholakia
2ce5de903f fix: fix linting issue 2024-03-21 08:05:47 -07:00
Krrish Dholakia
d91f9a9f50 feat(proxy_server.py): enable llm api based prompt injection checks
run user calls through an llm api to check for prompt injection attacks. This happens in parallel to th
e actual llm call using `async_moderation_hook`
2024-03-20 22:43:42 -07:00
Krrish Dholakia
52e425c7ac fix(llama_guard.py): fix merge 2024-02-17 23:38:53 -08:00
Krish Dholakia
b41cdf598b
Merge branch 'main' into litellm_google_text_moderation 2024-02-17 22:10:26 -08:00
Krish Dholakia
038ba426ab
Merge branch 'main' into litellm_llamaguard_custom_categories 2024-02-17 21:36:40 -08:00
Krrish Dholakia
ddf0911c46 feat(google_text_moderation.py): allow user to use google text moderation for content mod on proxy 2024-02-17 18:36:29 -08:00
Krrish Dholakia
73acdf3736 refactor: rename enterprise specific hooks and callbacks to be more precise 2024-02-17 17:52:45 -08:00
Krrish Dholakia
074d93cc97 feat(llama_guard.py): allow user to define custom unsafe content categories 2024-02-17 17:42:47 -08:00