Package com.openai.models.responses
Class ResponseCodeInterpreterToolCall.Output
-
- All Implemented Interfaces:
public final class ResponseCodeInterpreterToolCall.Output
The logs output from the code interpreter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
ResponseCodeInterpreterToolCall.Output.Visitor
An interface that defines how to map each variant of Output to a value of type T.
public final class
ResponseCodeInterpreterToolCall.Output.Logs
The logs output from the code interpreter.
public final class
ResponseCodeInterpreterToolCall.Output.Image
The image output from the code interpreter.
-
Method Summary
-
-
Method Detail
-
logs
final Optional<ResponseCodeInterpreterToolCall.Output.Logs> logs()
The logs output from the code interpreter.
-
image
final Optional<ResponseCodeInterpreterToolCall.Output.Image> image()
The image output from the code interpreter.
-
asLogs
final ResponseCodeInterpreterToolCall.Output.Logs asLogs()
The logs output from the code interpreter.
-
asImage
final ResponseCodeInterpreterToolCall.Output.Image asImage()
The image output from the code interpreter.
-
accept
final <T extends Any> T accept(ResponseCodeInterpreterToolCall.Output.Visitor<T> visitor)
-
validate
final ResponseCodeInterpreterToolCall.Output validate()
-
ofLogs
final static ResponseCodeInterpreterToolCall.Output ofLogs(ResponseCodeInterpreterToolCall.Output.Logs logs)
The logs output from the code interpreter.
-
ofImage
final static ResponseCodeInterpreterToolCall.Output ofImage(ResponseCodeInterpreterToolCall.Output.Image image)
The image output from the code interpreter.
-
-
-
-