Uses of Enum Class
com.hw.openai.entity.chat.ChatMessageRole
-
Uses of ChatMessageRole in com.hw.openai.entity.chat
Modifier and TypeMethodDescriptionstatic ChatMessageRole
static ChatMessageRole
Returns the enum constant of this class with the specified name.static ChatMessageRole[]
ChatMessageRole.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionChatMessage
(ChatMessageRole role, String content) ChatMessage
(ChatMessageRole role, String content, String name)