Enum Class MistralAiApi.ChatCompletionMessage.Role

java.lang.Object
java.lang.Enum<MistralAiApi.ChatCompletionMessage.Role>
org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.Role
All Implemented Interfaces:
Serializable, Comparable<MistralAiApi.ChatCompletionMessage.Role>, Constable
Enclosing class:
MistralAiApi.ChatCompletionMessage

public static enum MistralAiApi.ChatCompletionMessage.Role extends Enum<MistralAiApi.ChatCompletionMessage.Role>
The role of the author of this message.

NOTE: Mistral expects the system message to be before the user message or will fail with 400 error.