Disable logging
At Keywords AI, data privacy is our priority. We understand that you might want to disable logging for your sensitive data. We have added a 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
See all supported parameters here.
How to disable logging?
To disable logging, set the disable_log
parameter to true
in the request body.
Here is an example of how to disable logging using the OpenAI Python SDK:
Here is an example of how to disable logging using the OpenAI Python SDK:
Here is an example of how to disable logging in the OpenAI TypeScript SDK. In OpenAI TypeScript SDK, you should add a // @ts-expect-error
before the disable_log field.
We also support adding credentials in other SDKs or languages, please check out our integration section for more information.
Was this page helpful?