pub enum Includable {
CodeInterpreterCallOutputs,
ComputerCallOutputOutputImageUrl,
FileSearchCallResults,
MessageInputImageImageUrl,
MessageOutputTextLogprobs,
ReasoningEncryptedContent,
}
Expand description
Specify additional output data to include in the model response. Currently supported values are:
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 thestore
parameter is set tofalse
, or when an organization is enrolled in the zero data retention program).
Variants§
CodeInterpreterCallOutputs
code_interpreter_call.outputs
ComputerCallOutputOutputImageUrl
computer_call_output.output.image_url
FileSearchCallResults
file_search_call.results
MessageInputImageImageUrl
message.input_image.image_url
MessageOutputTextLogprobs
message.output_text.logprobs
ReasoningEncryptedContent
reasoning.encrypted_content
Trait Implementations§
Source§impl Clone for Includable
impl Clone for Includable
Source§fn clone(&self) -> Includable
fn clone(&self) -> Includable
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Includable
impl Debug for Includable
Source§impl<'de> Deserialize<'de> for Includable
impl<'de> Deserialize<'de> for Includable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Includable
impl PartialEq for Includable
Source§impl Serialize for Includable
impl Serialize for Includable
impl Copy for Includable
impl StructuralPartialEq for Includable
Auto Trait Implementations§
impl Freeze for Includable
impl RefUnwindSafe for Includable
impl Send for Includable
impl Sync for Includable
impl Unpin for Includable
impl UnwindSafe for Includable
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
Mutably borrows from an owned value. Read more