Package com.openai.models
Class AssistantToolChoiceOption.Behavior
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class AssistantToolChoiceOption.Behavior implements Enum
none
means the model will not call any tools 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 before responding to the user.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
AssistantToolChoiceOption.Behavior.Known
public enum
AssistantToolChoiceOption.Behavior.Value
-
Field Summary
Fields Modifier and Type Field Description public final static AssistantToolChoiceOption.Behavior
NONE
public final static AssistantToolChoiceOption.Behavior
AUTO
public final static AssistantToolChoiceOption.Behavior
REQUIRED
-
Method Summary
Modifier and Type Method Description final JsonField<String>
_value()
final AssistantToolChoiceOption.Behavior.Value
value()
final AssistantToolChoiceOption.Behavior.Known
known()
final String
asString()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static AssistantToolChoiceOption.Behavior
of(String value)
-
-
Method Detail
-
value
final AssistantToolChoiceOption.Behavior.Value value()
-
known
final AssistantToolChoiceOption.Behavior.Known known()
-
of
final static AssistantToolChoiceOption.Behavior of(String value)
-
-
-
-