Package com.openai.models
Class ChatCompletionTool.Type
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class ChatCompletionTool.Type implements EnumThe type of the tool. Currently, only
functionis supported.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumChatCompletionTool.Type.Knownpublic enumChatCompletionTool.Type.Value
-
Field Summary
Fields Modifier and Type Field Description public final static ChatCompletionTool.TypeFUNCTION
-
Method Summary
Modifier and Type Method Description final JsonField<String>_value()final ChatCompletionTool.Type.Valuevalue()final ChatCompletionTool.Type.Knownknown()final StringasString()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionTool.Typeof(String value)-
-
Method Detail
-
value
final ChatCompletionTool.Type.Value value()
-
known
final ChatCompletionTool.Type.Known known()
-
of
final static ChatCompletionTool.Type of(String value)
-
-
-
-