Class FunctionToolCallDelta.Function
-
- All Implemented Interfaces:
public final class FunctionToolCallDelta.FunctionThe definition of the function that was called.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFunctionToolCallDelta.Function.BuilderA builder for Function.
-
Method Summary
Modifier and Type Method Description final Optional<String>arguments()The arguments passed to the function. final Optional<String>name()The name of the function. final Optional<String>output()The output of the function. final JsonField<String>_arguments()Returns the raw JSON value of arguments. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_output()Returns the raw JSON value of output. final Map<String, JsonValue>_additionalProperties()final FunctionToolCallDelta.Function.BuildertoBuilder()final FunctionToolCallDelta.Functionvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FunctionToolCallDelta.Function.Builderbuilder()Returns a mutable builder for constructing an instance of Function. -
-
Method Detail
-
output
final Optional<String> output()
The output of the function. This will be
nullif the outputs have not been submitted yet.
-
_arguments
final JsonField<String> _arguments()
Returns the raw JSON value of arguments.
Unlike arguments, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_output
final JsonField<String> _output()
Returns the raw JSON value of output.
Unlike output, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FunctionToolCallDelta.Function.Builder toBuilder()
-
validate
final FunctionToolCallDelta.Function 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 FunctionToolCallDelta.Function.Builder builder()
Returns a mutable builder for constructing an instance of Function.
-
-
-
-