Uses of Enum Class
com.vaadin.flow.component.ai.common.ChatMessage.Role
Packages that use ChatMessage.Role
-
Uses of ChatMessage.Role in com.vaadin.flow.component.ai.common
Methods in com.vaadin.flow.component.ai.common that return ChatMessage.RoleModifier and TypeMethodDescriptionChatMessage.role()Returns the value of therolerecord component.static ChatMessage.RoleReturns the enum constant of this class with the specified name.static ChatMessage.Role[]ChatMessage.Role.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in com.vaadin.flow.component.ai.common with parameters of type ChatMessage.RoleModifierConstructorDescriptionChatMessage(ChatMessage.Role role, String content, String messageId, Instant time) Creates a new chat message.