Class ChatKitThreadUserMessageItem.InferenceOptions.ToolChoice.Builder
-
- All Implemented Interfaces:
public final class ChatKitThreadUserMessageItem.InferenceOptions.ToolChoice.Builder
A builder for ToolChoice.
-
-
Method Summary
-
-
Method Detail
-
id
final ChatKitThreadUserMessageItem.InferenceOptions.ToolChoice.Builder id(String id)
Identifier of the requested tool.
-
id
final ChatKitThreadUserMessageItem.InferenceOptions.ToolChoice.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id 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 ChatKitThreadUserMessageItem.InferenceOptions.ToolChoice.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ChatKitThreadUserMessageItem.InferenceOptions.ToolChoice.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ChatKitThreadUserMessageItem.InferenceOptions.ToolChoice.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ChatKitThreadUserMessageItem.InferenceOptions.ToolChoice.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ChatKitThreadUserMessageItem.InferenceOptions.ToolChoice.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ChatKitThreadUserMessageItem.InferenceOptions.ToolChoice build()
Returns an immutable instance of ToolChoice.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-