Class ChatCompletionFunctionCallOption
-
- All Implemented Interfaces:
public final class ChatCompletionFunctionCallOptionSpecifying a particular function via
{"name": "my_function"}forces the model to call that function.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionFunctionCallOption.BuilderA builder for ChatCompletionFunctionCallOption.
-
Method Summary
Modifier and Type Method Description final Stringname()The name of the function to call. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final ChatCompletionFunctionCallOption.BuildertoBuilder()final ChatCompletionFunctionCallOptionvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionFunctionCallOption.Builderbuilder()Returns a mutable builder for constructing an instance of ChatCompletionFunctionCallOption. -
-
Method Detail
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChatCompletionFunctionCallOption.Builder toBuilder()
-
validate
final ChatCompletionFunctionCallOption validate()
-
builder
final static ChatCompletionFunctionCallOption.Builder builder()
Returns a mutable builder for constructing an instance of ChatCompletionFunctionCallOption.
The following fields are required:
.name()
-
-
-
-