From 2d62353309279ab2c5720d2b975a7491ed0a484c Mon Sep 17 00:00:00 2001 From: deena Date: Mon, 12 Feb 2024 20:26:32 +0200 Subject: [PATCH] docs to include langfuse trace tags feature --- docs/my-website/docs/observability/langfuse_integration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/my-website/docs/observability/langfuse_integration.md b/docs/my-website/docs/observability/langfuse_integration.md index 3e6f702bc49..294f3fb3896 100644 --- a/docs/my-website/docs/observability/langfuse_integration.md +++ b/docs/my-website/docs/observability/langfuse_integration.md @@ -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 }, )