Interface DeltaToolCall.CodeInterpreterToolCall.CodeInterpreter.Output
- All Known Implementing Classes:
DeltaToolCall.CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput
,DeltaToolCall.CodeInterpreterToolCall.CodeInterpreter.Output.LogOutput
- Enclosing class:
- DeltaToolCall.CodeInterpreterToolCall.CodeInterpreter
public static sealed interface DeltaToolCall.CodeInterpreterToolCall.CodeInterpreter.Output
permits DeltaToolCall.CodeInterpreterToolCall.CodeInterpreter.Output.LogOutput, DeltaToolCall.CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
static final record
-
Method Summary
Modifier and TypeMethodDescriptionimageOutput
(int index, DeltaToolCall.CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Image image) int
index()
The index of the output in the outputs array.type()
-
Method Details
-
index
int index()The index of the output in the outputs array. -
type
String type() -
logOutput
static DeltaToolCall.CodeInterpreterToolCall.CodeInterpreter.Output.LogOutput logOutput(int index, String logs) -
imageOutput
static DeltaToolCall.CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput imageOutput(int index, DeltaToolCall.CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Image image)
-