Class ChatCompletionMessageCustomToolCall.Custom.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionMessageCustomToolCall.Custom.Builder
A builder for Custom.
-
-
Method Summary
-
-
Method Detail
-
input
final ChatCompletionMessageCustomToolCall.Custom.Builder input(String input)
The input for the custom tool call generated by the model.
-
input
final ChatCompletionMessageCustomToolCall.Custom.Builder input(JsonField<String> input)
Sets Builder.input to an arbitrary JSON value.
You should usually call Builder.input with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final ChatCompletionMessageCustomToolCall.Custom.Builder name(String name)
The name of the custom tool to call.
-
name
final ChatCompletionMessageCustomToolCall.Custom.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ChatCompletionMessageCustomToolCall.Custom.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ChatCompletionMessageCustomToolCall.Custom.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ChatCompletionMessageCustomToolCall.Custom.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ChatCompletionMessageCustomToolCall.Custom.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ChatCompletionMessageCustomToolCall.Custom.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ChatCompletionMessageCustomToolCall.Custom build()
Returns an immutable instance of Custom.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.input() .name()
-
-
-
-