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