Commit graph

83 commits

Author SHA1 Message Date
Krrish Dholakia
853b70aba9 fix(langfuse.py): support 'existing_trace_id' param
allow user to call out a trace as pre-existing, this prevents creating a default trace name, and potentially overwriting past traces
2024-04-29 16:39:17 -07:00
Krrish Dholakia
2cf069befb fix(langfuse.py): don't set default trace_name if trace_id given 2024-04-29 16:39:17 -07:00
Ishaan Jaff
1b586e5042 fix - allow langfuse init with flush interval 2024-04-27 14:53:18 -07:00
Krrish Dholakia
885de2e3c6 fix(proxy/utils.py): log rejected proxy requests to langfuse 2024-04-25 19:26:27 -07:00
Krrish Dholakia
1f7abb8d92 fix(langfuse.py): fix langfuse environ check 2024-04-24 13:21:00 -07:00
Ishaan Jaff
5118c96b4d fix langfuse project id 2024-04-23 11:37:17 -07:00
Ishaan Jaff
788394b1ec fix - logging proxy base url to langfuse 2024-04-19 16:20:46 -07:00
Ishaan Jaff
c59051895b fix - allow users to opt into langfuse default tags 2024-04-19 16:05:31 -07:00
Ishaan Jaff
c0befe9bbb feat - log base_url to langfuse as a tag 2024-04-19 15:48:00 -07:00
Ishaan Jaff
48e5de4f0e
Merge pull request #3175 from BerriAI/litellm_log_team_alias_langfuse
[FEAT] Log team alias to langfuse
2024-04-19 15:30:59 -07:00
Ishaan Jaff
3167c9da9f fix - use user_api_key_team_alias as the default tag on langfuse 2024-04-19 14:43:41 -07:00
Ishaan Jaff
410d1f2d2c langfuse - log team alias 2024-04-19 14:26:58 -07:00
David Manouchehri
ce13d2fa7c
(feat) - Improve Langfuse to log request headers.
https://github.com/orgs/langfuse/discussions/1070
2024-04-16 17:38:25 +00:00
David Manouchehri
af9da303b3
(feat) Langfuse - Add location logging, and add cache_hit to metadata. 2024-04-16 17:37:24 +00:00
Krish Dholakia
9ab6482466
Merge pull request #2883 from Manouchehri/fix-broke-langfuse-2857
(fix) Langfuse v2 renamed a few things.
2024-04-15 16:14:05 -07:00
Krrish Dholakia
3b803b09d9 fix(langfuse.py): remove print statements 2024-04-11 17:23:41 -07:00
David Manouchehri
8682573187
(fix) Langfuse v2 renamed a few things. 2024-04-07 04:31:25 +00:00
Krrish Dholakia
f07500c5ea fix(proxy_server.py): bump default db timeouts 2024-04-03 09:35:08 -07:00
Krrish Dholakia
0d949d71ab fix(main.py): support text completion input being a list of strings
addresses - https://github.com/BerriAI/litellm/issues/2792, https://github.com/BerriAI/litellm/issues/2777
2024-04-02 08:50:16 -07:00
Andrea Ponti
25bacfacdc Add trace_name in langfuse logging v2 2024-03-27 16:58:08 +01:00
Konstantin L
66dd9c309c add functions and tools to input for langfuse, fix #2207 2024-03-14 12:38:28 +01:00
ishaan-jaff
8bfb00cdab (fix) default langfuse setting 2024-03-12 17:42:31 -07:00
ishaan-jaff
c4079b2548 (fix) high traffic langfuse, s3 2024-03-06 12:22:52 -08:00
ishaan-jaff
74e50d9d35 (fix) high traffic langfuse logging 2024-03-06 12:17:59 -08:00
Krrish Dholakia
70a523eee7 fix(langfuse.py): support time to first token logging on langfuse 2024-02-23 10:04:12 -08:00
Krrish Dholakia
f57483ea70 fix(utils.py): support image gen logging to langfuse 2024-02-16 16:12:52 -08:00
Krish Dholakia
70146c1d37
Merge pull request #1995 from BerriAI/litellm_langfuse_prompts
feat(langfuse.py): support langfuse prompt management
2024-02-15 23:57:00 -08:00
Krrish Dholakia
dbb2939b98 feat(langfuse.py): support langfuse prompt management 2024-02-15 21:21:30 -08:00
ishaan-jaff
039617766f (feat) track team_id in langfuse tags 2024-02-15 20:58:39 -08:00
ishaan-jaff
b2d861fa11 (fix) langfuse logging 2024-02-13 07:02:58 -08:00
deena
b640ec4dc0 support langfuse tags feature 2024-02-12 19:49:11 +02:00
Krrish Dholakia
64fd1f7d21 fix(langfuse.py): langfuse success logging fix 2024-02-08 16:46:04 -08:00
Krrish Dholakia
bc23a9266e fix(langfuse.py): support passing input params for langfuse errors 2024-02-08 16:37:33 -08:00
Krrish Dholakia
b6adeec347 fix(proxy_server.py): prisma client fixes for high traffic 2024-02-06 17:30:36 -08:00
ishaan-jaff
a6afba8cf2 (fix) langfuse show semantic-similarity in tags 2024-02-06 13:41:22 -08:00
ishaan-jaff
3da30383f5 (feat) show langfuse logging tags better through proxy 2024-02-06 13:09:48 -08:00
Krrish Dholakia
a1bbb16ab2 fix(langfuse.py): support logging failed llm api calls to langfuse 2024-02-05 16:16:15 -08:00
David Manouchehri
26e68c3f67
(feat) Add sessionId for Langfuse. 2024-02-05 15:13:21 -05:00
ishaan-jaff
d69edac11b (feat) use same id to log on s3, langfuse 2024-02-02 16:26:59 -08:00
ishaan-jaff
9947b0db96 (fix) langfuse - use exact same response_id as s3 logging 2024-02-02 14:29:23 -08:00
ishaan-jaff
553349cb18 (fix) langfuse logging, append time to logs 2024-02-02 14:20:02 -08:00
ishaan-jaff
9657fb0f0c (feat) langfuse set generation_id to response ID 2024-02-02 13:06:47 -08:00
Krrish Dholakia
a301d8aa4b feat(utils.py): support dynamic langfuse params and team settings on proxy 2024-02-01 21:08:24 -08:00
Krish Dholakia
e6231245c1
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
345d0029af fix(langfuse.py): use total_cost 2024-01-31 16:04:56 -08:00
ishaan-jaff
a6d7e54cda (feat) log raw llm api calls on langfuse 2024-01-31 11:12:07 -08:00
ishaan-jaff
71e14cbbda (fix) langfuse check for embedding 2024-01-31 10:28:18 -08:00
ishaan-jaff
f4def61a90 (feat) langfuse - log embeddings 2024-01-31 10:22:29 -08:00
Max Deichmann
926bdae955 push 2024-01-31 13:57:48 +01:00
Max Deichmann
f0aeedb25d add cost tracking 2024-01-31 13:41:54 +01:00