Class CodeInterpreterTool
-
- All Implemented Interfaces:
public final class CodeInterpreterTool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCodeInterpreterTool.BuilderA builder for CodeInterpreterTool.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The type of tool being defined: code_interpreterExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("code_interpreter")final Map<String, JsonValue>_additionalProperties()final CodeInterpreterTool.BuildertoBuilder()final CodeInterpreterToolvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CodeInterpreterTool.Builderbuilder()Returns a mutable builder for constructing an instance of CodeInterpreterTool. -
-
Method Detail
-
_type
final JsonValue _type()
The type of tool being defined:
code_interpreterExpected to always return the following:
JsonValue.from("code_interpreter")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CodeInterpreterTool.Builder toBuilder()
-
validate
final CodeInterpreterTool 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 CodeInterpreterTool.Builder builder()
Returns a mutable builder for constructing an instance of CodeInterpreterTool.
-
-
-
-