Ishaan Jaff
f9e4e75160
log output from /audio on langfuse
2024-07-29 08:21:22 -07:00
Ishaan Jaff
4c427a3793
fix default input/output values for /audio/trancription logging
2024-07-29 08:03:08 -07:00
Krrish Dholakia
8c005d8134
feat(redact_messages.py): allow remove sensitive key information before passing to logging integration
2024-07-22 20:58:02 -07:00
Andrea Ponti
b9ffd0682c
Rollback to metadata deepcopy
2024-07-12 11:25:23 +02:00
Ishaan Jaff
f7d239f528
fix try / except langfuse deep copy
2024-07-10 17:22:14 -07:00
Krrish Dholakia
bcd7358daf
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
f55a0fec15
fix(langfuse.py): use clean metadata instead of deepcopy
2024-06-25 18:20:39 -07:00
Krrish Dholakia
589a83c82d
fix(langfuse.py): cleanup
2024-06-24 21:43:40 -07:00
Krrish Dholakia
94830ec281
fix(router.py): log rejected router requests to langfuse
...
Fixes issue where rejected requests weren't being logged
2024-06-24 17:52:01 -07:00
Krrish Dholakia
84043f4fd4
fix(litellm_logging.py): initialize global variables
...
Fixes https://github.com/BerriAI/litellm/issues/4281
2024-06-19 18:39:45 -07:00
Ishaan Jaff
373f232cdb
feat - _add_prompt_to_generation_params for langfuse
2024-06-18 19:55:16 -07:00
Hannes Burrichter
db1d72e113
Set Langfuse output to null for embedding responses
2024-06-16 15:14:34 +02:00
Krish Dholakia
8c7aa24959
Merge pull request #3559 from Intellegam/main
...
Langfuse integration support for `parent_observation_id` parameter
2024-06-14 06:55:45 -07:00
Krish Dholakia
ea4334f760
Merge branch 'main' into litellm_cleanup_traceback
2024-06-06 16:32:08 -07:00
Krrish Dholakia
e391e30285
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
5fc62433c7
fix add_metadata_from_header
2024-06-06 09:53:12 -07:00
afel
be7a33ba64
address review comments
2024-06-06 08:01:42 +02:00
afel
8348c543a6
add metadata from header changes
2024-06-03 22:11:57 +02:00
Krrish Dholakia
a2cf59a308
fix(langfuse.py): log litellm response cost as part of langfuse metadata
2024-06-03 12:58:30 -07:00
Ishaan Jaff
7b406840a9
fix put litellm prefix in generation name
2024-05-29 18:40:53 -07:00
Ishaan Jaff
e61784d7df
fix comment
2024-05-29 18:10:45 -07:00
Ishaan Jaff
b09b310649
feat - langfuse show _user_api_key_alias as generation nam
2024-05-29 18:03:13 -07:00
Ishaan Jaff
02c7a8fae6
fix don't log langfuse cache_hit in tags
2024-05-21 14:18:53 -07:00
Hannes Burrichter
0c0d418d71
Revert set Langfuse output to null for embedding responses
2024-05-21 18:25:24 +02:00
Hannes Burrichter
20c3351916
Add null check to parent_observation_id assignment
2024-05-21 18:24:18 +02:00
Hannes Burrichter
24a4e59cd6
Merge branch 'BerriAI:main' into main
2024-05-21 13:51:55 +02:00
Krrish Dholakia
1ccc604953
fix(slack_alerting.py): show langfuse traces on error messages
2024-05-17 18:42:30 -07:00
Hannes Burrichter
7d26e10fc4
Merge branch 'BerriAI:main' into main
2024-05-14 13:31:07 +02:00
Alex Epstein
f6e46a38d0
feat(langfuse.py): Allow for individual call message/response redaction
2024-05-12 22:38:29 -04:00
Krish Dholakia
784ae85ba0
Merge branch 'main' into litellm_bedrock_command_r_support
2024-05-11 21:24:42 -07:00
Krrish Dholakia
8e43e08a49
fix(langfuse.py): fix handling of dict object for langfuse prompt management
2024-05-11 20:42:55 -07:00
Ishaan Jaff
b4bf9b330d
debug langfuse
2024-05-11 14:12:26 -07:00
Ishaan Jaff
7185787047
fix langfuse debug mode
2024-05-11 14:08:39 -07:00
Ishaan Jaff
48b644c0a5
fix - support debugging litellm params
2024-05-11 14:02:16 -07:00
Krrish Dholakia
926b86af87
feat(bedrock_httpx.py): moves to using httpx client for bedrock cohere calls
2024-05-11 13:43:08 -07:00
Ishaan Jaff
d1607484f8
fix langfuse log clean metadata
2024-05-11 10:19:02 -07:00
Ishaan Jaff
2b0d781a3f
fix langfuse - log metadata on traces
2024-05-11 09:59:05 -07:00
Hannes Burrichter
155b00532a
Merge branch 'BerriAI:main' into main
2024-05-11 18:28:16 +02:00
Hannes Burrichter
8468dba063
Set Langfuse output to null for embedding responses
2024-05-11 18:25:53 +02:00
Krish Dholakia
1510f3a37a
Merge pull request #3576 from BerriAI/litellm_langfuse_fix
...
fix(langfuse.py): fix logging user_id in trace param on new trace creation
2024-05-10 19:27:34 -07:00
Krrish Dholakia
3a98b6b8df
fix(langfuse.py): fix logging user_id in trace param on new trace creation
...
Closes https://github.com/BerriAI/litellm/issues/3560
2024-05-10 18:25:07 -07:00
Ishaan Jaff
dda6a621d1
fix - langfuse copy metadata
2024-05-10 17:33:29 -07:00
Hannes Burrichter
fba7e83056
Add parent_observation_id parameter to Langfuse integration
2024-05-09 17:28:27 +02:00
Krrish Dholakia
e5c57cdddb
feat(slack_alerting.py): reintegrate langfuse trace url for slack alerts
...
this ensures langfuse trace url returned in llm api exception err
2024-05-07 12:58:49 -07:00
Alex Epstein
9ae08a8344
Update support for langfuse metadata
...
- Added ability to set trace release, version, metadata
- Added ability to update fields during a trace continuation
- Added ability to update input and output during a trace continuation
- Wrote new test for verifying metadata is set correctly
- Small improvement to setting secret boolean, prevent unnecessary literal_eval
- Small improvements to langfuse tests
2024-05-05 14:56:36 -04:00
Krish Dholakia
dff4649509
Merge branch 'main' into litellm_openmeter_integration
2024-05-01 21:19:29 -07:00
Ishaan Jaff
e0ef79c824
fix - langfuse.py
2024-05-01 20:32:52 -07:00
Ishaan Jaff
dde25d4800
Merge pull request #2516 from marcklingen/patch-1
...
Add langfuse `sdk_integration`
2024-05-01 20:01:47 -07:00
Krrish Dholakia
3dc8f0c15e
refactor(langfuse.py): remove print statements
2024-05-01 19:11:59 -07:00
Ishaan Jaff
d2f1802b54
fix - errant prints on langfuse
2024-05-01 19:07:56 -07:00