Package com.openai.models
Class ChatCompletionToolChoiceOption.Behavior
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class ChatCompletionToolChoiceOption.Behavior 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.Behavior.Knownpublic enumChatCompletionToolChoiceOption.Behavior.Value
-
Field Summary
Fields Modifier and Type Field Description public final static ChatCompletionToolChoiceOption.BehaviorNONEpublic final static ChatCompletionToolChoiceOption.BehaviorAUTOpublic final static ChatCompletionToolChoiceOption.BehaviorREQUIRED
-
Method Summary
Modifier and Type Method Description final JsonField<String>_value()final ChatCompletionToolChoiceOption.Behavior.Valuevalue()final ChatCompletionToolChoiceOption.Behavior.Knownknown()final StringasString()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionToolChoiceOption.Behaviorof(String value)-
-
Method Detail
-
value
final ChatCompletionToolChoiceOption.Behavior.Value value()
-
known
final ChatCompletionToolChoiceOption.Behavior.Known known()
-
of
final static ChatCompletionToolChoiceOption.Behavior of(String value)
-
-
-
-