Uses of Enum Class
com.alibaba.cloud.ai.dashscope.spec.DashScopeApiSpec.ChatCompletionMessage.Role
Packages that use DashScopeApiSpec.ChatCompletionMessage.Role
-
Uses of DashScopeApiSpec.ChatCompletionMessage.Role in com.alibaba.cloud.ai.dashscope.spec
Methods in com.alibaba.cloud.ai.dashscope.spec that return DashScopeApiSpec.ChatCompletionMessage.RoleModifier and TypeMethodDescriptionDashScopeApiSpec.ChatCompletionMessage.role()Returns the value of therolerecord component.Returns the enum constant of this class with the specified name.DashScopeApiSpec.ChatCompletionMessage.Role.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in com.alibaba.cloud.ai.dashscope.spec with parameters of type DashScopeApiSpec.ChatCompletionMessage.RoleModifierConstructorDescriptionCreate a chat completion message with the given content and role.ChatCompletionMessage(Object rawContent, DashScopeApiSpec.ChatCompletionMessage.Role role, String name, String toolCallId, List<DashScopeApiSpec.ChatCompletionMessage.ToolCall> toolCalls, String reasoningContent, Boolean partial, String phase, List<DashScopeApiSpec.ChatCompletionAnnotations> annotations, String status) Creates an instance of aChatCompletionMessagerecord class.