Commit graph

150 commits

Author SHA1 Message Date
Krrish Dholakia
99678147df feat(utils.py): support dynamic langfuse params and team settings on proxy 2024-02-01 21:08:24 -08:00
Krish Dholakia
f30c399b35 Merge pull request #1704 from maxdeichmann/add-langfuse-cost-tracking
feat: add langfuse cost tracking
2024-01-31 16:09:50 -08:00
Krrish Dholakia
a5a6d56243 fix(langfuse.py): use total_cost 2024-01-31 16:04:56 -08:00
ishaan-jaff
16d7cd6e6c (feat) log raw llm api calls on langfuse 2024-01-31 11:12:07 -08:00
ishaan-jaff
e6bda9f912 (fix) langfuse check for embedding 2024-01-31 10:28:18 -08:00
ishaan-jaff
bab50e935f (feat) langfuse - log embeddings 2024-01-31 10:22:29 -08:00
Max Deichmann
5e11b9b5da push 2024-01-31 13:57:48 +01:00
Max Deichmann
0c1d0b918b add cost tracking 2024-01-31 13:41:54 +01:00
ishaan-jaff
587e73697f s3 logger - add better debug statements 2024-01-25 18:47:50 -08:00
ishaan-jaff
a336628355 (fix) s3 log .json files 2024-01-25 18:36:20 -08:00
ishaan-jaff
78b72d431b (fix) s3 logger use r2 links 2024-01-25 18:36:20 -08:00
Krrish Dholakia
2acdcc6671 fix: support info level logging on pkg + proxy 2024-01-20 17:45:47 -08:00
Ishaan Jaff
6a9332df4d Merge pull request #1524 from timothyasp/langsmith-project-env-bug-fix
Langsmith: Add envs for project/run names; fix bug with None metadata
2024-01-19 14:04:16 -08:00
Tim Asp
e676eaa85d Cleaner fallback 2024-01-19 11:56:45 -08:00
ishaan-jaff
daf600c338 (feat) log cache_hit as langfuse tags 2024-01-19 11:38:18 -08:00
Tim Asp
cfc998194c fix error when metadata is none, prevents logging silently 2024-01-19 11:37:45 -08:00
Tim Asp
bacc54eea6 Add env for project wide langsmith default project settings 2024-01-19 11:37:15 -08:00
Duarte OC
a124bbc8db revert comment 2024-01-18 17:26:38 +01:00
Duarte OC
442511311b Update s3 cache to support folder 2024-01-18 11:38:05 +01:00
ishaan-jaff
28ae0168f5 (feat) langfuse send metadata as tags 2024-01-17 17:29:46 -08:00
ishaan-jaff
0da0909f2d (feat) s3 logging - log cache hits 2024-01-11 15:57:54 +05:30
ishaan-jaff
ae8b6b31e2 (fix) s3 log cache hits 2024-01-11 11:44:20 +05:30
ishaan-jaff
4a47b17ba2 (feat) proxy - support s3_callback_params 2024-01-11 09:57:47 +05:30
ishaan-jaff
426ce91481 (fix) working s3 logging 2024-01-11 08:57:32 +05:30
ishaan-jaff
a7fe37599e v0 2024-01-11 08:25:40 +05:30
ishaan-jaff
f1c68e06fa (fix) proxy - remove errant print statement 2024-01-01 10:48:12 +05:30
ishaan-jaff
3e933b75d0 (feat) langfuse - set custom trace_id, trace_user_id 2023-12-30 20:19:03 +05:30
Krrish Dholakia
79978c44ba refactor: add black formatting 2023-12-25 14:11:20 +05:30
Krrish Dholakia
a23fbe4d25 test: skip flaky tests 2023-12-23 12:37:38 +05:30
Krrish Dholakia
d1dea7c87d fix(utils.py): log user_id to langfuse 2023-12-23 12:14:09 +05:30
Max Deichmann
a250b4d421 debug langfuse on env variable 2023-12-19 12:20:58 +01:00
Max Deichmann
00ff0113d0 add log 2023-12-19 10:06:03 +01:00
Max Deichmann
a43b8aa703 add users 2023-12-19 09:54:51 +01:00
Max Deichmann
a49e1d662e changes 2023-12-19 09:41:49 +01:00
Max Deichmann
e8d7235082 improve integration 2023-12-18 23:32:02 +01:00
Krrish Dholakia
e62327dd92 fix(traceloop.py): add additional openllmetry traces 2023-12-16 19:21:39 -08:00
Krrish Dholakia
bfafabea10 fix(azure.py): fix azure streaming logging 2023-12-16 18:06:08 -08:00
Krrish Dholakia
68c53256ab fix(proxy_server.py): setup depedencies on server startup 2023-12-16 11:56:11 -08:00
ishaan-jaff
7c41d509fe (feat) langfuse add _async_log_event 2023-12-15 21:46:32 +05:30
ishaan-jaff
a5540bf24d (feat) proxy logs: dynamodb - set table name 2023-12-15 21:38:44 +05:30
ishaan-jaff
7ce2db8189 (fix) make dynamo logger async for proxy 2023-12-15 18:52:09 +05:30
ishaan-jaff
6ff5833839 (feat) dynamo db - log call_type 2023-12-15 17:27:48 +05:30
ishaan-jaff
72738c5c83 (feat) dynamo logger - all payload vals are str 2023-12-15 17:00:38 +05:30
ishaan-jaff
78770b9972 (test) dynamo db writes 2023-12-15 16:43:33 +05:30
ishaan-jaff
1ca53ef2da (fix) dynamo.py spelling 2023-12-15 16:07:42 +05:30
ishaan-jaff
c2df58ef62 (feat) add dynamoDB logger 2023-12-15 15:35:35 +05:30
Krrish Dholakia
5160f06274 docs(custom_callback.md): add async failure + streaming logging events to docs
https://github.com/BerriAI/litellm/issues/1125
2023-12-14 10:46:53 -08:00
Krrish Dholakia
3fbeca134f fix(custom_logger.py): enable pre_call hooks to modify incoming data to proxy 2023-12-13 16:20:37 -08:00
Krrish Dholakia
2231601d5a fix(ollama.py): fix async completion calls for ollama 2023-12-13 13:10:25 -08:00
Krrish Dholakia
1a2eab103a fix(langfuse.py): serialize message for logging 2023-12-12 21:41:05 -08:00