Commit graph

15 commits

Author SHA1 Message Date
Krrish Dholakia
b4ffa4e43c feat(lakera_ai.py): support lakera custom thresholds + custom api base
Allows user to configure thresholds to trigger prompt injection rejections
2024-08-06 15:21:45 -07:00
Krrish Dholakia
63a3e188bc feat(lakera_ai.py): support running prompt injection detection lakera check pre-api call 2024-07-22 20:16:05 -07:00
Krrish Dholakia
0c8196b3c7 feat(lakera_ai.py): control running prompt injection between pre-call and in_parallel 2024-07-22 20:04:42 -07:00
Ishaan Jaff
a24f8a04e3 fix lakera ai tests 2024-07-19 07:49:57 -07:00
Ishaan Jaff
da2d6348a7 fix linting errors on main 2024-07-18 13:32:48 -07:00
Ishaan Jaff
dfb5e816a6 Merge branch 'main' into litellm_run_moderation_check_on_embedding 2024-07-18 12:44:30 -07:00
Ishaan Jaff
786eea8752 lakera run on /embeddings 2024-07-17 18:27:05 -07:00
Vinnie Giarrusso
2fb74a6d98 remove more unused imports 2024-07-16 12:25:06 -07:00
Vinnie Giarrusso
0535bd2d68 Add enabled_roles to Guardrails configuration, Update Lakera guardrail moderation hook 2024-07-16 01:52:08 -07:00
Krrish Dholakia
6641683d66 feat(guardrails.py): allow setting logging_only in guardrails_config for presidio pii masking integration 2024-07-13 12:22:17 -07:00
Ishaan Jaff
da2be30aa0 feat- control lakera ai per llm call 2024-07-03 16:34:23 -07:00
Ishaan Jaff
cedf95da97 feat - control lakera per call 2024-07-02 17:34:05 -07:00
Ishaan Jaff
3b968c4f27 feat - laker return orig response from lakera api 2024-06-28 16:13:44 -07:00
Ishaan Jaff
f6f24b87a8 fix - lakera ai integration 2024-05-23 15:25:26 -07:00
Ishaan Jaff
60d2778d69 feat - add lakera ai prompt injection detection 2024-05-23 15:16:46 -07:00