Enum Class MistralAiApi.ChatModel
- All Implemented Interfaces:
Serializable
,Comparable<MistralAiApi.ChatModel>
,Constable
,ChatModelDescription
,ModelDescription
- Enclosing class:
- MistralAiApi
public static enum MistralAiApi.ChatModel
extends Enum<MistralAiApi.ChatModel>
implements ChatModelDescription
List of well-known Mistral chat models.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of the model.getValue()
static MistralAiApi.ChatModel
Returns the enum constant of this class with the specified name.static MistralAiApi.ChatModel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.springframework.ai.model.ModelDescription
getDescription, getVersion
-
Enum Constant Details
-
MAGISTRAL_MEDIUM
-
MISTRAL_MEDIUM
-
CODESTRAL
-
LARGE
-
PIXTRAL_LARGE
-
MINISTRAL_3B_LATEST
-
MINISTRAL_8B_LATEST
-
MAGISTRAL_SMALL
-
DEVSTRAL_SMALL
-
SMALL
-
PIXTRAL
-
OPEN_MISTRAL_NEMO
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-
getName
Description copied from interface:ModelDescription
Returns the name of the model.- Specified by:
getName
in interfaceModelDescription
- Returns:
- the name of the model
-