mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +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
Add a link
Reference in a new issue