Package com.openai.models
Class AssistantToolChoiceOption.Auto
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class AssistantToolChoiceOption.Auto 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.Auto.Known
public enum
AssistantToolChoiceOption.Auto.Value
-
Field Summary
Fields Modifier and Type Field Description public final static AssistantToolChoiceOption.Auto
NONE
public final static AssistantToolChoiceOption.Auto
AUTO
public final static AssistantToolChoiceOption.Auto
REQUIRED
-
Method Summary
Modifier and Type Method Description final JsonField<String>
_value()
final AssistantToolChoiceOption.Auto.Value
value()
final AssistantToolChoiceOption.Auto.Known
known()
final String
asString()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static AssistantToolChoiceOption.Auto
of(String value)
-
-
Method Detail
-
value
final AssistantToolChoiceOption.Auto.Value value()
-
known
final AssistantToolChoiceOption.Auto.Known known()
-
of
final static AssistantToolChoiceOption.Auto of(String value)
-
-
-
-