docs to include langfuse trace tags feature

This commit is contained in:
deena 2024-02-12 20:26:32 +02:00
parent b640ec4dc0
commit 2d62353309

View file

@ -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
},
)