Package com.openai.models
Class ChatCompletionToolChoiceOption.Behavior
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class ChatCompletionToolChoiceOption.Behavior implements Enum
none
means the model will not call any tool and instead generates a message.auto
means the model can pick between generating a message or calling one or more tools.required
means the model must call one or more tools.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
ChatCompletionToolChoiceOption.Behavior.Known
public enum
ChatCompletionToolChoiceOption.Behavior.Value
-
Field Summary
Fields Modifier and Type Field Description public final static ChatCompletionToolChoiceOption.Behavior
NONE
public final static ChatCompletionToolChoiceOption.Behavior
AUTO
public final static ChatCompletionToolChoiceOption.Behavior
REQUIRED
-
Method Summary
Modifier and Type Method Description final JsonField<String>
_value()
final ChatCompletionToolChoiceOption.Behavior.Value
value()
final ChatCompletionToolChoiceOption.Behavior.Known
known()
final String
asString()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionToolChoiceOption.Behavior
of(String value)
-
-
Method Detail
-
value
final ChatCompletionToolChoiceOption.Behavior.Value value()
-
known
final ChatCompletionToolChoiceOption.Behavior.Known known()
-
of
final static ChatCompletionToolChoiceOption.Behavior of(String value)
-
-
-
-