Uses of Enum Class
dev.langchain4j.community.model.zhipu.chat.Role
Packages that use Role
-
Uses of Role in dev.langchain4j.community.model.zhipu.chat
Methods in dev.langchain4j.community.model.zhipu.chat that return RoleModifier and TypeMethodDescriptionAssistantMessage.getRole()Message.getRole()SystemMessage.getRole()ToolMessage.getRole()UserMessage.getRole()static RoleReturns 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.Methods in dev.langchain4j.community.model.zhipu.chat with parameters of type RoleModifier and TypeMethodDescriptionvoidvoidvoidConstructors in dev.langchain4j.community.model.zhipu.chat with parameters of type RoleModifierConstructorDescriptionSystemMessage(Role role, String content, String name) ToolMessage(Role role, String toolCallId, String content) UserMessage(Role role, Object content, String name)