Package com.openai.models
Class AssistantToolChoice.Type
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class AssistantToolChoice.Type implements EnumThe type of the tool. If type is
function, the function name must be set
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumAssistantToolChoice.Type.Knownpublic enumAssistantToolChoice.Type.Value
-
Field Summary
Fields Modifier and Type Field Description public final static AssistantToolChoice.TypeFUNCTIONpublic final static AssistantToolChoice.TypeCODE_INTERPRETERpublic final static AssistantToolChoice.TypeFILE_SEARCH
-
Method Summary
Modifier and Type Method Description final JsonField<String>_value()final AssistantToolChoice.Type.Valuevalue()final AssistantToolChoice.Type.Knownknown()final StringasString()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AssistantToolChoice.Typeof(String value)-
-
Method Detail
-
value
final AssistantToolChoice.Type.Value value()
-
known
final AssistantToolChoice.Type.Known known()
-
of
final static AssistantToolChoice.Type of(String value)
-
-
-
-