Uses of Enum Class
org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage.Role
Packages that use ZhiPuAiApi.ChatCompletionMessage.Role
-
Uses of ZhiPuAiApi.ChatCompletionMessage.Role in org.springframework.ai.zhipuai.api
Methods in org.springframework.ai.zhipuai.api that return ZhiPuAiApi.ChatCompletionMessage.RoleModifier and TypeMethodDescriptionZhiPuAiApi.ChatCompletionMessage.role()Returns the value of therolerecord component.Returns the enum constant of this class with the specified name.ZhiPuAiApi.ChatCompletionMessage.Role.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.springframework.ai.zhipuai.api with parameters of type ZhiPuAiApi.ChatCompletionMessage.RoleModifierConstructorDescriptionChatCompletionMessage(Object content, ZhiPuAiApi.ChatCompletionMessage.Role role) Create a chat completion message with the given content and role.ChatCompletionMessage(Object rawContent, ZhiPuAiApi.ChatCompletionMessage.Role role, String name, String toolCallId, List<ZhiPuAiApi.ChatCompletionMessage.ToolCall> toolCalls) Creates an instance of aChatCompletionMessagerecord class.