#[non_exhaustive]pub enum Include {
WebSearchCall,
CodeInterpreterCall,
ImageUrlInComputerCallOutput,
FileSearchCall,
ImageUrlInInputMessages,
LogprobsInOutput,
ReasoningEncryptedContent,
}Expand description
Specifies additional data to include in the response output
This enum defines various types of additional information that can be included in the API response output, such as web search results, code interpreter outputs, image URLs, and other metadata.
§API Reference
Corresponds to the include parameter in the OpenAI Responses API:
https://platform.openai.com/docs/api-reference/responses/create
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
WebSearchCall
Include web search call results in the output
When included, the response will contain information about web search results that were used during the response generation process.
CodeInterpreterCall
Include code interpreter call outputs in the output
When included, the response will contain outputs from any code that was executed during the response generation process.
ImageUrlInComputerCallOutput
Include computer call output image URLs in the output
When included, the response will contain image URLs from any computer interaction calls that were made.
FileSearchCall
Include file search call results in the output
When included, the response will contain results from any file search operations that were performed.
ImageUrlInInputMessages
Include image URLs from input messages in the output
When included, the response will contain image URLs that were present in the input messages.
LogprobsInOutput
Include log probabilities in the output
When included, the response will contain log probability information for the generated text tokens.
ReasoningEncryptedContent
Include reasoning encrypted content in the output
When included, the response will contain encrypted reasoning content that shows the model’s internal reasoning process.