Package com.openai.models
Class ChatCompletionChunk.Choice.Delta.ToolCall.Function
-
- All Implemented Interfaces:
public final class ChatCompletionChunk.Choice.Delta.ToolCall.Function
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder
A builder for Function.
-
Method Summary
Modifier and Type Method Description final Optional<String>
arguments()
The arguments to call the function with, as generated by the model in JSON format. final Optional<String>
name()
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 ChatCompletionChunk.Choice.Delta.ToolCall.Function
validate()
final ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder
builder()
-
-
Method Detail
-
arguments
final Optional<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 ChatCompletionChunk.Choice.Delta.ToolCall.Function validate()
-
toBuilder
final ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder toBuilder()
-
builder
final static ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder builder()
-
-
-
-