From 86a835f6fd174ef64c4cb41db5eae86c2fffa555 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Sat, 7 Oct 2023 14:21:30 -0700 Subject: [PATCH] docs(callbacks.md): add input callback to the callback docs --- docs/my-website/docs/observability/callbacks.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/my-website/docs/observability/callbacks.md b/docs/my-website/docs/observability/callbacks.md index 1cda575844..af04259753 100644 --- a/docs/my-website/docs/observability/callbacks.md +++ b/docs/my-website/docs/observability/callbacks.md @@ -2,7 +2,7 @@ ## Use Callbacks to send Output Data to Posthog, Sentry etc -liteLLM provides `success_callbacks` and `failure_callbacks`, making it easy for you to send data to a particular provider depending on the status of your responses. +liteLLM provides `input_callbacks`, `success_callbacks` and `failure_callbacks`, making it easy for you to send data to a particular provider depending on the status of your responses. liteLLM supports: @@ -20,6 +20,7 @@ liteLLM supports: from litellm import completion # set callbacks +litellm.input_callback=["sentry"] # for sentry breadcrumbing - logs the input being sent to the api litellm.success_callback=["posthog", "helicone", "llmonitor"] litellm.failure_callback=["sentry", "llmonitor"]