class

OpenAI::CodeInterpreterContainerAuto

Inherits JSON::Serializable < Reference < Object

Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on.

Constructors

new(type_value : CodeInterpreterContainerAutoType = CodeInterpreterContainerAutoType::Auto, file_ids : Array(String) | Nil = nil, memory_limit : CodeInterpreterContainerAutoMemoryLimit | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

file_ids

An optional list of uploaded files to make available to your code.

Source
file_ids=(file_ids : Array(String) | Nil)

An optional list of uploaded files to make available to your code.

Source
memory_limit
Source
memory_limit=(memory_limit : CodeInterpreterContainerAutoMemoryLimit | Nil)
Source
type_value

Always auto.

Source
type_value=(type_value : CodeInterpreterContainerAutoType)

Always auto.

Source