Uses of Enum Class
org.springframework.ai.ollama.api.OllamaApi.Message.Role
Packages that use OllamaApi.Message.Role
-
Uses of OllamaApi.Message.Role in org.springframework.ai.ollama.api
Methods in org.springframework.ai.ollama.api that return OllamaApi.Message.RoleModifier and TypeMethodDescriptionOllamaApi.Message.role()
Returns the value of therole
record component.static OllamaApi.Message.Role
Returns the enum constant of this class with the specified name.static OllamaApi.Message.Role[]
OllamaApi.Message.Role.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.ai.ollama.api with parameters of type OllamaApi.Message.RoleModifier and TypeMethodDescriptionstatic OllamaApi.Message.Builder
OllamaApi.Message.builder
(OllamaApi.Message.Role role) Constructors in org.springframework.ai.ollama.api with parameters of type OllamaApi.Message.RoleModifierConstructorDescriptionMessage
(OllamaApi.Message.Role role, String content, List<String> images, List<OllamaApi.Message.ToolCall> toolCalls, String toolName, String thinking) Creates an instance of aMessage
record class.