Uses of Enum Class
org.springframework.ai.anthropic.api.AnthropicApi.Role
Packages that use AnthropicApi.Role
-
Uses of AnthropicApi.Role in org.springframework.ai.anthropic.api
Methods in org.springframework.ai.anthropic.api that return AnthropicApi.RoleModifier and TypeMethodDescriptionAnthropicApi.AnthropicMessage.role()Returns the value of therolerecord component.AnthropicApi.ChatCompletionResponse.role()Returns the value of therolerecord component.static AnthropicApi.RoleReturns the enum constant of this class with the specified name.static AnthropicApi.Role[]AnthropicApi.Role.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.RoleModifier and TypeMethodDescriptionStreamHelper.ChatCompletionResponseBuilder.withRole(AnthropicApi.Role role) Constructors in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.RoleModifierConstructorDescriptionAnthropicMessage(List<AnthropicApi.ContentBlock> content, AnthropicApi.Role role) Creates an instance of aAnthropicMessagerecord class.ChatCompletionResponse(String id, String type, AnthropicApi.Role role, List<AnthropicApi.ContentBlock> content, String model, String stopReason, String stopSequence, AnthropicApi.Usage usage) Creates an instance of aChatCompletionResponserecord class.