Uses of Enum Class
dev.langchain4j.model.zhipu.chat.Role
-
Uses of Role in dev.langchain4j.model.zhipu.chat
Modifier and TypeMethodDescriptionAssistantMessage.getRole()
Message.getRole()
SystemMessage.getRole()
ToolMessage.getRole()
UserMessage.getRole()
static Role
Returns the enum constant of this class with the specified name.static Role[]
Role.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
void
void
ModifierConstructorDescriptionSystemMessage
(Role role, String content, String name) ToolMessage
(Role role, String toolCallId, String content) UserMessage
(Role role, Object content, String name)