Class ChatCompletionMessageToolCall.Function
-
- All Implemented Interfaces:
public final class ChatCompletionMessageToolCall.FunctionThe function that the model called.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionMessageToolCall.Function.BuilderA builder for Function.
-
Method Summary
Modifier and Type Method Description final Stringarguments()The arguments to call the function with, as generated by the model in JSON format. final Stringname()The name of the function to call. final JsonField<String>_arguments()The arguments to call the function with, as generated by the model in JSON format. final JsonField<String>_name()The name of the function to call. final Map<String, JsonValue>_additionalProperties()final ChatCompletionMessageToolCall.Functionvalidate()final ChatCompletionMessageToolCall.Function.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionMessageToolCall.Function.Builderbuilder()Returns a mutable builder for constructing an instance of Function. -
-
Method Detail
-
arguments
final String arguments()
The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
-
_arguments
final JsonField<String> _arguments()
The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionMessageToolCall.Function validate()
-
toBuilder
final ChatCompletionMessageToolCall.Function.Builder toBuilder()
-
builder
final static ChatCompletionMessageToolCall.Function.Builder builder()
Returns a mutable builder for constructing an instance of Function.
The following fields are required:
.arguments() .name()
-
-
-
-