From e378ab8bc9e7f7e57358c44e80a01f58e87b8761 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 24 Jul 2024 07:12:36 -0700 Subject: [PATCH] docs - logging langsmith tags --- docs/my-website/docs/observability/langsmith_integration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/my-website/docs/observability/langsmith_integration.md b/docs/my-website/docs/observability/langsmith_integration.md index d57a64f09..f02cdb652 100644 --- a/docs/my-website/docs/observability/langsmith_integration.md +++ b/docs/my-website/docs/observability/langsmith_integration.md @@ -56,7 +56,7 @@ response = litellm.completion( ``` ## Advanced -### Set Custom Project & Run names +### Set Langsmith fields - Custom Projec, Run names, tags ```python import litellm @@ -77,6 +77,7 @@ response = litellm.completion( metadata={ "run_name": "litellmRUN", # langsmith run name "project_name": "litellm-completion", # langsmith project name + "tags": ["model1", "prod-2"] # tags to log on langsmith } ) print(response)