Ishaan Jaff
|
4d1b4beb3d
|
(refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208)
* use folder for caching
* fix importing caching
* fix clickhouse pyright
* fix linting
* fix correctly pass kwargs and args
* fix test case for embedding
* fix linting
* fix embedding caching logic
* fix refactor handle utils.py
* fix test_embedding_caching_azure_individual_items_reordered
|
2024-10-14 16:34:01 +05:30 |
|
Krish Dholakia
|
d57be47b0f
|
Litellm ruff linting enforcement (#5992)
* ci(config.yml): add a 'check_code_quality' step
Addresses https://github.com/BerriAI/litellm/issues/5991
* ci(config.yml): check why circle ci doesn't pick up this test
* ci(config.yml): fix to run 'check_code_quality' tests
* fix(__init__.py): fix unprotected import
* fix(__init__.py): don't remove unused imports
* build(ruff.toml): update ruff.toml to ignore unused imports
* fix: fix: ruff + pyright - fix linting + type-checking errors
* fix: fix linting errors
* fix(lago.py): fix module init error
* fix: fix linting errors
* ci(config.yml): cd into correct dir for checks
* fix(proxy_server.py): fix linting error
* fix(utils.py): fix bare except
causes ruff linting errors
* fix: ruff - fix remaining linting errors
* fix(clickhouse.py): use standard logging object
* fix(__init__.py): fix unprotected import
* fix: ruff - fix linting errors
* fix: fix linting errors
* ci(config.yml): cleanup code qa step (formatting handled in local_testing)
* fix(_health_endpoints.py): fix ruff linting errors
* ci(config.yml): just use ruff in check_code_quality pipeline for now
* build(custom_guardrail.py): include missing file
* style(embedding_handler.py): fix ruff check
|
2024-10-01 19:44:20 -04:00 |
|
Ishaan Jaff
|
4685b9909a
|
feat - allow accessing data post success call
|
2024-08-19 11:35:33 -07:00 |
|
Krrish Dholakia
|
9d918d2ac7
|
fix(presidio_pii_masking.py): support logging_only pii masking
|
2024-07-11 18:04:12 -07:00 |
|
Krrish Dholakia
|
1193ee8803
|
fix(presidio_pii_masking.py): fix presidio unset url check + add same check for langfuse
|
2024-07-06 17:50:55 -07:00 |
|
Krrish Dholakia
|
d57d3df1d6
|
fix(presidio_pii_masking.py): add support for setting 'http://' if unset by render env for presidio base url
|
2024-07-06 17:42:10 -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
|
5d121a9f3c
|
(fix) stop using f strings with logger
|
2024-03-25 10:47:18 -07:00 |
|
Krrish Dholakia
|
d706d3b672
|
fix(presidio_pii_masking.py): enable user to pass ad hoc recognizer for pii masking
|
2024-02-20 16:01:15 -08:00 |
|
Krrish Dholakia
|
72bcd5a4af
|
fix(presidio_pii_masking.py): enable user to pass their own ad hoc recognizers to presidio
|
2024-02-20 15:19:31 -08:00 |
|
Krrish Dholakia
|
9fa4dfbdd3
|
test(test_presidio_pii_masking.py): add more unit tests
|
2024-02-19 16:30:44 -08:00 |
|
Krrish Dholakia
|
448537e684
|
feat(presidio_pii_masking.py): allow request level controls for turning on/off pii masking
https://github.com/BerriAI/litellm/issues/2003
|
2024-02-17 11:04:56 -08:00 |
|
Krrish Dholakia
|
3565f74338
|
docs(enterprise.md): add llama guard tutorial to enterprise docs
|
2024-02-17 09:25:49 -08:00 |
|
Krrish Dholakia
|
cd8d35107b
|
fix: check key permissions for turning on/off pii masking
|
2024-02-15 20:16:15 -08:00 |
|
Krrish Dholakia
|
6b91f48c64
|
fix(presidio_pii_masking.py): fix conditional check
|
2024-02-13 22:11:03 -08:00 |
|
Krrish Dholakia
|
f68b656040
|
feat(presidio_pii_masking.py): enable output parsing for pii masking
|
2024-02-13 21:36:57 -08:00 |
|
Krrish Dholakia
|
2d845b12ed
|
feat(proxy_server.py): support for pii masking with microsoft presidio
|
2024-02-10 20:21:12 -08:00 |
|