Package com.openai.models
Class CodeInterpreterToolCall.CodeInterpreter.Output
-
- All Implemented Interfaces:
public final class CodeInterpreterToolCall.CodeInterpreter.Output
Text output from the Code Interpreter tool call as part of a run step.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
CodeInterpreterToolCall.CodeInterpreter.Output.Visitor
An interface that defines how to map each variant of Output to a value of type T.
public final class
CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput
Text output from the Code Interpreter tool call as part of a run step.
public final class
CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput
-
Method Summary
-
-
Method Detail
-
logs
final Optional<CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput> logs()
Text output from the Code Interpreter tool call as part of a run step.
-
asLogs
final CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput asLogs()
Text output from the Code Interpreter tool call as part of a run step.
-
asImage
final CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput asImage()
-
accept
final <T extends Any> T accept(CodeInterpreterToolCall.CodeInterpreter.Output.Visitor<T> visitor)
-
validate
final CodeInterpreterToolCall.CodeInterpreter.Output validate()
-
ofLogs
final static CodeInterpreterToolCall.CodeInterpreter.Output ofLogs(CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput logs)
Text output from the Code Interpreter tool call as part of a run step.
-
ofImage
final static CodeInterpreterToolCall.CodeInterpreter.Output ofImage(CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput image)
-
-
-
-