Package com.openai.models
Class ChatCompletionToolChoiceOption.Auto
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class ChatCompletionToolChoiceOption.Auto implements Enumnonemeans the model will not call any tool and instead generates a message.automeans the model can pick between generating a message or calling one or more tools.requiredmeans the model must call one or more tools.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumChatCompletionToolChoiceOption.Auto.Knownpublic enumChatCompletionToolChoiceOption.Auto.Value
-
Field Summary
Fields Modifier and Type Field Description public final static ChatCompletionToolChoiceOption.AutoNONEpublic final static ChatCompletionToolChoiceOption.AutoAUTOpublic final static ChatCompletionToolChoiceOption.AutoREQUIRED
-
Method Summary
Modifier and Type Method Description final JsonField<String>_value()final ChatCompletionToolChoiceOption.Auto.Valuevalue()final ChatCompletionToolChoiceOption.Auto.Knownknown()final StringasString()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionToolChoiceOption.Autoof(String value)-
-
Method Detail
-
value
final ChatCompletionToolChoiceOption.Auto.Value value()
-
known
final ChatCompletionToolChoiceOption.Auto.Known known()
-
of
final static ChatCompletionToolChoiceOption.Auto of(String value)
-
-
-
-