From d991e1320c5490a18e8a56eacc0b8b18fe7a61d0 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Fri, 16 Aug 2024 17:35:55 -0700 Subject: [PATCH] docs(langfuse_integration.md): add disable logging for specific calls to docs --- docs/my-website/docs/observability/langfuse_integration.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/my-website/docs/observability/langfuse_integration.md b/docs/my-website/docs/observability/langfuse_integration.md index 9703d38a03b..7bbb13387af 100644 --- a/docs/my-website/docs/observability/langfuse_integration.md +++ b/docs/my-website/docs/observability/langfuse_integration.md @@ -200,6 +200,13 @@ The following parameters can be updated on a continuation of a trace by passing Any other key value pairs passed into the metadata not listed in the above spec for a `litellm` completion will be added as a metadata key value pair for the generation. +#### Disable Logging - Specific Calls + +To disable logging for specific calls use the `no-log` flag. + +`completion(messages = ..., model = ..., **{"no-log": True})` + + ### Use LangChain ChatLiteLLM + Langfuse Pass `trace_user_id`, `session_id` in model_kwargs ```python