class

OpenAI::RunStepDetailsToolCallsCodeObjectCodeInterpreter

Inherits JSON::Serializable < Reference < Object

The Code Interpreter tool call definition.

Constructors

new(input : String = "", outputs : Array(RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsItem) = [] of RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsItem)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

input

The input to the Code Interpreter tool call.

Source
input=(input : String)

The input to the Code Interpreter tool call.

Source
outputs

The outputs from the Code Interpreter tool call. Code Interpreter can output one or more items, including text (logs) or images (image). Each of these are represented by a different object type.

Source
outputs=(outputs : Array(RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsItem))

The outputs from the Code Interpreter tool call. Code Interpreter can output one or more items, including text (logs) or images (image). Each of these are represented by a different object type.

Source