OpenAIInclude

Specify additional output data to include in the model response. Currently supported values are:

web_search_call.action.sources: Include the sources of the web search tool call. code_interpreter_call.outputs: Includes the outputs of python code execution in code interpreter tool call items. computer_call_output.output.image_url: Include image urls from the computer call output. file_search_call.results: Include the search results of the file search tool call. message.input_image.image_url: Include image urls from the input message. message.output_text.logprobs: Include logprobs with assistant messages. reasoning.encrypted_content: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the store parameter is set to false, or when an organization is enrolled in the zero data retention program).

Entries

Link copied to clipboard
@SerialName(value = "web_search_call.action.sources")
WEB_SEARCH_CALL_ACTION_SOURCES
Link copied to clipboard
@SerialName(value = "code_interpreter_call.outputs")
CODE_INTERPRETER_CALL_OUTPUTS
Link copied to clipboard
@SerialName(value = "computer_call_output.output.image_url")
COMPUTER_CALL_OUTPUT_IMAGE_URL
Link copied to clipboard
@SerialName(value = "file_search_call.results")
FILE_SEARCH_CALL_RESULTS
Link copied to clipboard
@SerialName(value = "message.input_image.image_url")
INPUT_IMAGE_URL
Link copied to clipboard
@SerialName(value = "message.output_text.logprobs")
OUTPUT_TEXT_LOGPROBS
Link copied to clipboard
@SerialName(value = "reasoning.encrypted_content")
REASONING_ENCRYPTED_CONTENT

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.