Uses of Enum Class
io.github.glaforge.gemini.interactions.model.Interaction.Role
Packages that use Interaction.Role
-
Uses of Interaction.Role in io.github.glaforge.gemini.interactions.model
Methods in io.github.glaforge.gemini.interactions.model that return Interaction.RoleModifier and TypeMethodDescriptionInteraction.role()Returns the value of therolerecord component.Interaction.Turn.role()Returns the value of therolerecord component.static Interaction.RoleReturns the enum constant of this class with the specified name.static Interaction.Role[]Interaction.Role.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in io.github.glaforge.gemini.interactions.model with parameters of type Interaction.RoleModifierConstructorDescriptionInteraction(String id, String model, String agent, String object, Instant created, Instant updated, Interaction.Role role, Interaction.Status status, List<Content> outputs, Interaction.Usage usage, String previousInteractionId) Creates an instance of aInteractionrecord class.Turn(Interaction.Role role, Object content) Creates an instance of aTurnrecord class.