Ishaan Jaff
|
b6ae2204a8
|
[Feat-Proxy] Slack Alerting - allow using os.environ/ vars for alert to webhook url (#5726)
* allow using os.environ for slack urls
* use env vars for webhook urls
* fix types for get_secret
* fix linting
* fix linting
* fix linting
* linting fixes
* linting fix
* docs alerting slack
* fix get data
|
2024-09-16 18:03:37 -07:00 |
|
Ishaan Jaff
|
0f154abf9e
|
use get_async_httpx_client for logging httpx
|
2024-09-10 13:03:55 -07:00 |
|
Ishaan Jaff
|
43acf6d08f
|
use view for getting tag usage on ui
|
2024-09-06 16:28:05 -07:00 |
|
Ishaan Jaff
|
1a142053e5
|
fix make lakera ai free guardrail
|
2024-08-20 14:03:22 -07:00 |
|
Ishaan Jaff
|
cad0352f76
|
rename lakera ai
|
2024-08-20 13:44:39 -07:00 |
|
Ishaan Jaff
|
042350bd74
|
rename Aporia Guardrail
|
2024-08-20 13:42:55 -07:00 |
|
Ishaan Jaff
|
0431600f7b
|
add testing for aporia guardrails
|
2024-08-19 18:50:14 -07:00 |
|
Ishaan Jaff
|
ca9c81470b
|
fix aporia typo
|
2024-08-19 18:34:45 -07:00 |
|
Ishaan Jaff
|
8cd1963c11
|
feat - guardrails v2
|
2024-08-19 18:24:20 -07:00 |
|
Ishaan Jaff
|
613bd1babd
|
feat - return applied guardrails in response headers
|
2024-08-19 11:56:20 -07:00 |
|
Ishaan Jaff
|
4685b9909a
|
feat - allow accessing data post success call
|
2024-08-19 11:35:33 -07:00 |
|
Ishaan Jaff
|
8cb62213e1
|
feat run aporia as post call success hook
|
2024-08-19 11:25:31 -07:00 |
|
Krrish Dholakia
|
61f4b71ef7
|
refactor: replace .error() with .exception() logging for better debugging on sentry
|
2024-08-16 09:22:47 -07:00 |
|
Krish Dholakia
|
c82fc0cac2
|
Merge branch 'main' into litellm_support_lakera_config_thresholds
|
2024-08-06 22:47:13 -07:00 |
|
Krrish Dholakia
|
907d83e5d9
|
fix(lakera_ai.py): fix hardcoded prompt_injection string in lakera integration
|
2024-08-06 16:12:54 -07:00 |
|
Krrish Dholakia
|
0e222cf76b
|
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
|
80e7310c5c
|
feat(lakera_ai.py): support running prompt injection detection lakera check pre-api call
|
2024-07-22 20:16:05 -07:00 |
|
Krrish Dholakia
|
99a5436ed5
|
feat(lakera_ai.py): control running prompt injection between pre-call and in_parallel
|
2024-07-22 20:04:42 -07:00 |
|
Ishaan Jaff
|
e66a735304
|
fix lakera ai tests
|
2024-07-19 07:49:57 -07:00 |
|
Ishaan Jaff
|
75ca53fab5
|
fix linting errors on main
|
2024-07-18 13:32:48 -07:00 |
|
Ishaan Jaff
|
eedacf5193
|
Merge branch 'main' into litellm_run_moderation_check_on_embedding
|
2024-07-18 12:44:30 -07:00 |
|
Krish Dholakia
|
57f6923ab6
|
Merge pull request #4729 from vingiarrusso/vgiarrusso/guardrails
Add enabled_roles to Guardrails configuration, Update Lakera guardrail moderation hook
|
2024-07-17 22:24:35 -07:00 |
|
Ishaan Jaff
|
b2bf5ad3d0
|
lakera run on /embeddings
|
2024-07-17 18:27:05 -07:00 |
|
Krrish Dholakia
|
07d90f6739
|
feat(aporio_ai.py): support aporio ai prompt injection for chat completion requests
Closes https://github.com/BerriAI/litellm/issues/2950
|
2024-07-17 16:38:47 -07:00 |
|
Vinnie Giarrusso
|
a4b41e28a8
|
remove more unused imports
|
2024-07-16 12:25:06 -07:00 |
|
Vinnie Giarrusso
|
6ff863ee00
|
Add enabled_roles to Guardrails configuration, Update Lakera guardrail moderation hook
|
2024-07-16 01:52:08 -07:00 |
|
Krrish Dholakia
|
6b78e39600
|
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
|
1028be6308
|
feat- control lakera ai per llm call
|
2024-07-03 16:34:23 -07:00 |
|
Ishaan Jaff
|
2dcf06ce7d
|
Merge pull request #4525 from BerriAI/litellm_control_lakera_per_llm_call
[Feat] Control Lakera AI per Request
|
2024-07-02 18:02:43 -07:00 |
|
Ishaan Jaff
|
23f8d23acb
|
correct guardrail name
|
2024-07-02 17:50:23 -07:00 |
|
Ishaan Jaff
|
b6af67344c
|
feat - control lakera per call
|
2024-07-02 17:34:05 -07:00 |
|
Ishaan Jaff
|
9f8572e427
|
check if key does not want secret detection to run
|
2024-07-02 17:05:53 -07:00 |
|
Ishaan Jaff
|
e2046bd59c
|
feat - laker return orig response from lakera api
|
2024-06-28 16:13:44 -07:00 |
|
Ishaan Jaff
|
eaa6441030
|
test fix secret detection
|
2024-06-27 17:42:44 -07:00 |
|
Ishaan Jaff
|
baf55a86c9
|
fix secret scanner
|
2024-06-27 15:20:30 -07:00 |
|
Ishaan Jaff
|
84ee37086c
|
add stricter secret detection
|
2024-06-27 15:12:13 -07:00 |
|
Ishaan Jaff
|
552bac586f
|
feat - improve secret detection
|
2024-06-27 15:07:38 -07:00 |
|
Ishaan Jaff
|
304e84f87c
|
clean up secret detection
|
2024-06-25 17:25:53 -07:00 |
|
Ishaan Jaff
|
e4653e6032
|
fix async_pre_call_hook
|
2024-06-25 16:38:47 -07:00 |
|
Ishaan Jaff
|
4aa686bb05
|
feat - add secret detection
|
2024-06-25 16:23:56 -07:00 |
|
Ishaan Jaff
|
2f9aa308f1
|
fix - remove deprecated clickhouse utils
|
2024-06-15 15:33:26 -07:00 |
|
Krrish Dholakia
|
3b913443fe
|
feat(vertex_httpx.py): Moving to call vertex ai via httpx (instead of their sdk). Allows us to support all their api updates.
|
2024-06-12 16:47:00 -07:00 |
|
Krrish Dholakia
|
6cca5612d2
|
refactor: replace 'traceback.print_exc()' with logging library
allows error logs to be in json format for otel logging
|
2024-06-06 13:47:43 -07:00 |
|
Ishaan Jaff
|
45cb899687
|
fix - working filter by tag query
|
2024-06-03 15:12:09 -07:00 |
|
Ishaan Jaff
|
03ec8219a4
|
fix - lakera ai integration
|
2024-05-23 15:25:26 -07:00 |
|
Ishaan Jaff
|
ec41226ee8
|
feat - add lakera ai prompt injection detection
|
2024-05-23 15:16:46 -07:00 |
|
Ishaan Jaff
|
6aad4e38d3
|
feat - add debugging for moderation response
|
2024-05-23 13:24:09 -07:00 |
|
Ishaan Jaff
|
1fe035c6dd
|
feat - add open ai moderations check
|
2024-05-23 13:08:06 -07:00 |
|
Ishaan Jaff
|
5b51acc773
|
fix type hints on main
|
2024-05-13 20:21:23 -07:00 |
|
Ishaan Jaff
|
fa4dcbd37c
|
ui - round up spend per tag
|
2024-05-13 17:31:29 -07:00 |
|