This feature is available for the LLM proxy (chat completions endpoint) and Async logging.
disable_log
option to help you achieve this.
What information will be disabled?
The following fields will not be logged:full_request
full_response
messages
,prompt_messages
, andcompletion_message
tools
How to disable logging?
To disable logging, set thedisable_log
parameter to true
in the request body.
Here is an example of how to disable logging using the OpenAI Python SDK: