Package com.openai.models
Class ChatCompletionChunk.Choice.Delta.Role
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class ChatCompletionChunk.Choice.Delta.Role implements Enum
The role of the author of this message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
ChatCompletionChunk.Choice.Delta.Role.Known
public enum
ChatCompletionChunk.Choice.Delta.Role.Value
-
Field Summary
Fields Modifier and Type Field Description public final static ChatCompletionChunk.Choice.Delta.Role
SYSTEM
public final static ChatCompletionChunk.Choice.Delta.Role
USER
public final static ChatCompletionChunk.Choice.Delta.Role
ASSISTANT
public final static ChatCompletionChunk.Choice.Delta.Role
TOOL
-
Method Summary
Modifier and Type Method Description final JsonField<String>
_value()
final ChatCompletionChunk.Choice.Delta.Role.Value
value()
final ChatCompletionChunk.Choice.Delta.Role.Known
known()
final String
asString()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionChunk.Choice.Delta.Role
of(String value)
-
-
Method Detail
-
value
final ChatCompletionChunk.Choice.Delta.Role.Value value()
-
known
final ChatCompletionChunk.Choice.Delta.Role.Known known()
-
of
final static ChatCompletionChunk.Choice.Delta.Role of(String value)
-
-
-
-