mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
docs to include langfuse trace tags feature
This commit is contained in:
parent
b640ec4dc0
commit
2d62353309
1 changed files with 2 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ print(response)
|
|||
|
||||
```
|
||||
|
||||
### Set Custom Trace ID, Trace User ID
|
||||
### Set Custom Trace ID, Trace User ID and Tags
|
||||
|
||||
Pass `trace_id`, `trace_user_id` in `metadata`
|
||||
|
||||
|
|
@ -124,6 +124,7 @@ response = completion(
|
|||
"trace_id": "trace-id22", # set langfuse Trace ID
|
||||
"trace_user_id": "user-id2", # set langfuse Trace User ID
|
||||
"session_id": "session-1", # set langfuse Session ID
|
||||
"tags": ["tag1", "tag2"] # set langfuse Tags
|
||||
},
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue