mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
docs(langfuse_integration.md): docs for showing how to log errors to langfuse
This commit is contained in:
parent
048acc8e68
commit
66913222a1
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ Use just 2 lines of code, to instantly log your responses **across all providers
|
|||
Get your Langfuse API Keys from https://cloud.langfuse.com/
|
||||
```python
|
||||
litellm.success_callback = ["langfuse"]
|
||||
litellm.failure_callback = ["langfuse"] # logs errors to langfuse
|
||||
```
|
||||
```python
|
||||
# pip install langfuse
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue