Uses of Enum Class
com.developer.nefarious.zjoule.plugin.models.Role
Packages that use Role
Package
Description
-
Uses of Role in com.developer.nefarious.zjoule.plugin.chat
Methods in com.developer.nefarious.zjoule.plugin.chat that return RoleModifier and TypeMethodDescriptionIChatMessage.getRole()
Retrieves the role associated with the message.Methods in com.developer.nefarious.zjoule.plugin.chat with parameters of type RoleModifier and TypeMethodDescriptionIAIClient.createMessage
(Role role, String userPrompt) Creates a new chat message with the specified role and content. -
Uses of Role in com.developer.nefarious.zjoule.plugin.chat.models
Methods in com.developer.nefarious.zjoule.plugin.chat.models that return RoleMethods in com.developer.nefarious.zjoule.plugin.chat.models with parameters of type RoleConstructors in com.developer.nefarious.zjoule.plugin.chat.models with parameters of type Role -
Uses of Role in com.developer.nefarious.zjoule.plugin.chat.ollama
Methods in com.developer.nefarious.zjoule.plugin.chat.ollama that return RoleModifier and TypeMethodDescriptionOllamaChatMessage.getRole()
Retrieves the role associated with the message.Methods in com.developer.nefarious.zjoule.plugin.chat.ollama with parameters of type RoleModifier and TypeMethodDescriptionOllamaClient.createMessage
(Role role, String userPrompt) Creates a new chat message with the specified role and user input.void
Sets the role of the message.Constructors in com.developer.nefarious.zjoule.plugin.chat.ollama with parameters of type RoleModifierConstructorDescriptionOllamaChatMessage
(Role role, String content) Constructs a newOllamaChatMessage
with the specified role and content. -
Uses of Role in com.developer.nefarious.zjoule.plugin.chat.openai
Methods in com.developer.nefarious.zjoule.plugin.chat.openai that return RoleModifier and TypeMethodDescriptionOpenAIChatMessage.getRole()
Retrieves the role associated with the message.Methods in com.developer.nefarious.zjoule.plugin.chat.openai with parameters of type RoleModifier and TypeMethodDescriptionOpenAIClient.createMessage
(Role role, String userPrompt) Creates a chat message with the specified role and content.void
Sets the role of the message.Constructors in com.developer.nefarious.zjoule.plugin.chat.openai with parameters of type RoleModifierConstructorDescriptionOpenAIChatMessage
(Role role, String content) Constructs a newOpenAIChatMessage
with the specified role and content. -
Uses of Role in com.developer.nefarious.zjoule.plugin.models
Methods in com.developer.nefarious.zjoule.plugin.models that return RoleModifier and TypeMethodDescriptionstatic 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.Methods in com.developer.nefarious.zjoule.plugin.models with parameters of type Role