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