docs(custom_callback.md): add async failure + streaming logging events to docs

https://github.com/BerriAI/litellm/issues/1125
This commit is contained in:
Krrish Dholakia 2023-12-14 10:46:23 -08:00
parent a6e78497b5
commit 0f14fb3797
2 changed files with 64 additions and 4 deletions

View file

@ -28,6 +28,8 @@ class CustomLogger: # https://docs.litellm.ai/docs/observability/custom_callback
def log_failure_event(self, kwargs, response_obj, start_time, end_time):
pass
#### ASYNC ####
async def async_log_stream_event(self, kwargs, response_obj, start_time, end_time):
pass
@ -41,7 +43,7 @@ class CustomLogger: # https://docs.litellm.ai/docs/observability/custom_callback
async def async_log_failure_event(self, kwargs, response_obj, start_time, end_time):
pass
#### CALL HOOKS ####
#### CALL HOOKS - proxy only ####
"""
Control the modify incoming / outgoung data before calling the model
"""