Class CodeInterpreterToolCallDelta.CodeInterpreter
-
- All Implemented Interfaces:
public final class CodeInterpreterToolCallDelta.CodeInterpreterThe Code Interpreter tool call definition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCodeInterpreterToolCallDelta.CodeInterpreter.BuilderA builder for CodeInterpreter.
public final classCodeInterpreterToolCallDelta.CodeInterpreter.OutputText output from the Code Interpreter tool call as part of a run step.
-
Method Summary
Modifier and Type Method Description final Optional<String>input()The input to the Code Interpreter tool call. final Optional<List<CodeInterpreterToolCallDelta.CodeInterpreter.Output>>outputs()The outputs from the Code Interpreter tool call. final JsonField<String>_input()Returns the raw JSON value of input. final JsonField<List<CodeInterpreterToolCallDelta.CodeInterpreter.Output>>_outputs()Returns the raw JSON value of outputs. final Map<String, JsonValue>_additionalProperties()final CodeInterpreterToolCallDelta.CodeInterpreter.BuildertoBuilder()final CodeInterpreterToolCallDelta.CodeInterpretervalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CodeInterpreterToolCallDelta.CodeInterpreter.Builderbuilder()Returns a mutable builder for constructing an instance of CodeInterpreter. -
-
Method Detail
-
outputs
final Optional<List<CodeInterpreterToolCallDelta.CodeInterpreter.Output>> outputs()
The outputs from the Code Interpreter tool call. Code Interpreter can output one or more items, including text (
logs) or images (image). Each of these are represented by a different object type.
-
_input
final JsonField<String> _input()
Returns the raw JSON value of input.
Unlike input, this method doesn't throw if the JSON field has an unexpected type.
-
_outputs
final JsonField<List<CodeInterpreterToolCallDelta.CodeInterpreter.Output>> _outputs()
Returns the raw JSON value of outputs.
Unlike outputs, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CodeInterpreterToolCallDelta.CodeInterpreter.Builder toBuilder()
-
validate
final CodeInterpreterToolCallDelta.CodeInterpreter validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static CodeInterpreterToolCallDelta.CodeInterpreter.Builder builder()
Returns a mutable builder for constructing an instance of CodeInterpreter.
-
-
-
-