class

OpenAI::CodeInterpreterFileOutput

Inherits JSON::Serializable < Reference < Object

The output of a code interpreter tool call that is a file.

Constructors

new(type_value : CodeInterpreterFileOutputType = CodeInterpreterFileOutputType::Files, files : Array(CodeInterpreterFileOutputFilesItem) = [] of CodeInterpreterFileOutputFilesItem)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

files
Source
files=(files : Array(CodeInterpreterFileOutputFilesItem))
Source
type_value

The type of the code interpreter file output. Always files.

Source
type_value=(type_value : CodeInterpreterFileOutputType)

The type of the code interpreter file output. Always files.

Source