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§
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.
Trait Implementations§
impl StructuralPartialEq for Include
Auto Trait Implementations§
impl Freeze for Include
impl RefUnwindSafe for Include
impl Send for Include
impl Sync for Include
impl Unpin for Include
impl UnwindSafe for Include
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.