class

OpenAI::CodeInterpreterTextOutput

Inherits JSON::Serializable < Reference < Object

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

Constructors

new(type_value : CodeInterpreterTextOutputType = CodeInterpreterTextOutputType::Logs, logs : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

logs

The logs of the code interpreter tool call.

Source
logs=(logs : String)

The logs of the code interpreter tool call.

Source
type_value

The type of the code interpreter text output. Always logs.

Source
type_value=(type_value : CodeInterpreterTextOutputType)

The type of the code interpreter text output. Always logs.

Source