Package com.openai.models
Class ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder
-
-
Constructor Summary
Constructors Constructor Description ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder()
-
Method Summary
-
-
Method Detail
-
arguments
final ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder arguments(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 ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder arguments(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.
-
name
final ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder name(String name)
The name of the function to call.
-
name
final ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder name(JsonField<String> name)
The name of the function to call.
-
additionalProperties
final ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ChatCompletionChunk.Choice.Delta.ToolCall.Function.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ChatCompletionChunk.Choice.Delta.ToolCall.Function build()
-
-
-
-