Package com.openai.models.beta.responses
Class BetaToolChoiceTypes.Builder
-
- All Implemented Interfaces:
public final class BetaToolChoiceTypes.BuilderA builder for BetaToolChoiceTypes.
-
-
Method Summary
Modifier and Type Method Description final BetaToolChoiceTypes.Buildertype(BetaToolChoiceTypes.Type type)The type of hosted tool the model should to use. final BetaToolChoiceTypes.Buildertype(JsonField<BetaToolChoiceTypes.Type> type)Sets Builder.type to an arbitrary JSON value. final BetaToolChoiceTypes.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolChoiceTypes.BuilderputAdditionalProperty(String key, JsonValue value)final BetaToolChoiceTypes.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolChoiceTypes.BuilderremoveAdditionalProperty(String key)final BetaToolChoiceTypes.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaToolChoiceTypesbuild()Returns an immutable instance of BetaToolChoiceTypes. -
-
Method Detail
-
type
final BetaToolChoiceTypes.Builder type(BetaToolChoiceTypes.Type type)
The type of hosted tool the model should to use. Learn more about built-in tools.
Allowed values are:
file_searchweb_search_previewcomputercomputer_use_previewcomputer_usecode_interpreterimage_generation
-
type
final BetaToolChoiceTypes.Builder type(JsonField<BetaToolChoiceTypes.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaToolChoiceTypes.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaToolChoiceTypes.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaToolChoiceTypes.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaToolChoiceTypes.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaToolChoiceTypes.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaToolChoiceTypes build()
Returns an immutable instance of BetaToolChoiceTypes.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.type()
-
-
-
-