Package com.openai.models
Class CodeInterpreterToolCallDelta.CodeInterpreter.Output
-
- All Implemented Interfaces:
public final class CodeInterpreterToolCallDelta.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
CodeInterpreterToolCallDelta.CodeInterpreter.Output.Visitor
An interface that defines how to map each variant of Output to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<CodeInterpreterLogs>
logs()
Text output from the Code Interpreter tool call as part of a run step. final Optional<CodeInterpreterOutputImage>
image()
final Boolean
isLogs()
final Boolean
isImage()
final CodeInterpreterLogs
asLogs()
Text output from the Code Interpreter tool call as part of a run step. final CodeInterpreterOutputImage
asImage()
final Optional<JsonValue>
_json()
final <T extends Any> T
accept(CodeInterpreterToolCallDelta.CodeInterpreter.Output.Visitor<T> visitor)
final CodeInterpreterToolCallDelta.CodeInterpreter.Output
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static CodeInterpreterToolCallDelta.CodeInterpreter.Output
ofLogs(CodeInterpreterLogs logs)
Text output from the Code Interpreter tool call as part of a run step. final static CodeInterpreterToolCallDelta.CodeInterpreter.Output
ofImage(CodeInterpreterOutputImage image)
-
-
Method Detail
-
logs
final Optional<CodeInterpreterLogs> logs()
Text output from the Code Interpreter tool call as part of a run step.
-
image
final Optional<CodeInterpreterOutputImage> image()
-
asLogs
final CodeInterpreterLogs asLogs()
Text output from the Code Interpreter tool call as part of a run step.
-
asImage
final CodeInterpreterOutputImage asImage()
-
accept
final <T extends Any> T accept(CodeInterpreterToolCallDelta.CodeInterpreter.Output.Visitor<T> visitor)
-
validate
final CodeInterpreterToolCallDelta.CodeInterpreter.Output validate()
-
ofLogs
final static CodeInterpreterToolCallDelta.CodeInterpreter.Output ofLogs(CodeInterpreterLogs logs)
Text output from the Code Interpreter tool call as part of a run step.
-
ofImage
final static CodeInterpreterToolCallDelta.CodeInterpreter.Output ofImage(CodeInterpreterOutputImage image)
-
-
-
-