Package dev.langchain4j.model.mistralai
Enum MistralAiChatModelName
- All Implemented Interfaces:
Serializable,Comparable<MistralAiChatModelName>
Represents the available chat completion models for Mistral AI.
The chat completion models are used to generate responses for chat-based applications. Each model has a specific power and capability level.
The available chat completion models are:
OPEN_MISTRAL_7B- aka mistral-tiny-2312OPEN_MIXTRAL_8x7B- aka mistral-small-2312MISTRAL_SMALL_LATEST- aka mistral-small-2402MISTRAL_MEDIUM_LATEST- aka mistral-medium-2312MISTRAL_LARGE_LATEST- aka mistral-large-2402
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Deprecated.As of release 0.29.0, replaced byMISTRAL_SMALL_LATESTDeprecated.As of release 0.29.0, replaced byOPEN_MISTRAL_7B -
Method Summary
Modifier and TypeMethodDescriptiontoString()static MistralAiChatModelNameReturns the enum constant of this type with the specified name.static MistralAiChatModelName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OPEN_MISTRAL_7B
-
MISTRAL_TINY
Deprecated.As of release 0.29.0, replaced byOPEN_MISTRAL_7B -
OPEN_MIXTRAL_8x7B
-
OPEN_MIXTRAL_8X22B
-
MISTRAL_SMALL
Deprecated.As of release 0.29.0, replaced byMISTRAL_SMALL_LATEST -
MISTRAL_SMALL_LATEST
-
MISTRAL_MEDIUM
Deprecated.As of release 0.29.0, replaced byMISTRAL_MEDIUM_LATEST -
MISTRAL_MEDIUM_LATEST
-
MISTRAL_LARGE_LATEST
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<MistralAiChatModelName>
-
MISTRAL_MEDIUM_LATEST