Package com.openai.models.responses
Class ToolChoiceFunction
-
- All Implemented Interfaces:
public final class ToolChoiceFunctionUse this option to force the model to call a specific function.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classToolChoiceFunction.BuilderA builder for ToolChoiceFunction.
-
Method Summary
Modifier and Type Method Description final Stringname()The name of the function to call. final JsonValue_type()For function calling, the type is always function.final JsonField<String>_name()The name of the function to call. final Map<String, JsonValue>_additionalProperties()final ToolChoiceFunctionvalidate()final ToolChoiceFunction.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ToolChoiceFunction.Builderbuilder()Returns a mutable builder for constructing an instance of ToolChoiceFunction. -
-
Method Detail
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ToolChoiceFunction validate()
-
toBuilder
final ToolChoiceFunction.Builder toBuilder()
-
builder
final static ToolChoiceFunction.Builder builder()
Returns a mutable builder for constructing an instance of ToolChoiceFunction.
The following fields are required:
.name()
-
-
-
-