forked from phoenix/litellm-mirror
langfuse custom LangFUSE host
This commit is contained in:
parent
eb6e42194a
commit
a6e3bcaeb3
1 changed files with 8 additions and 0 deletions
|
@ -29,6 +29,14 @@ Use just 2 lines of code, to instantly log your responses **across all providers
|
|||
litellm.success_callback = ["langfuse"]
|
||||
```
|
||||
|
||||
### Required API keys for Langfuse
|
||||
Set the following variables in your .env
|
||||
```python
|
||||
os.environ["LANGFUSE_SECRET_KEY"]
|
||||
os.environ["LANGFUSE_PUBLIC_KEY"]
|
||||
os.environ["LANGFUSE_HOST", "https://cloud.langfuse.com"]
|
||||
```
|
||||
|
||||
### Complete code
|
||||
|
||||
```python
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue