Class RequiredActionFunctionToolCall.Function
-
- All Implemented Interfaces:
public final class RequiredActionFunctionToolCall.Function
The function definition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RequiredActionFunctionToolCall.Function.Builder
A builder for Function.
-
Method Summary
Modifier and Type Method Description final String
arguments()
The arguments that the model expects you to pass to the function. final String
name()
The name 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 Map<String, JsonValue>
_additionalProperties()
final RequiredActionFunctionToolCall.Function
validate()
final RequiredActionFunctionToolCall.Function.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static RequiredActionFunctionToolCall.Function.Builder
builder()
Returns a mutable builder for constructing an instance of Function. -
-
Method Detail
-
arguments
final String arguments()
The arguments that the model expects you to pass to the function.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final RequiredActionFunctionToolCall.Function validate()
-
toBuilder
final RequiredActionFunctionToolCall.Function.Builder toBuilder()
-
builder
final static RequiredActionFunctionToolCall.Function.Builder builder()
Returns a mutable builder for constructing an instance of Function.
The following fields are required:
.arguments() .name()
-
-
-
-