Package dev.langchain4j.model.mistralai
Enum Class MistralAiChatModelName
- All Implemented Interfaces:
Serializable
,Comparable<MistralAiChatModelName>
,Constable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.As of release 0.29.0, replaced byMISTRAL_SMALL_LATEST
Deprecated, for removal: This API element is subject to removal in a future version.As of release 0.29.0, replaced byOPEN_MISTRAL_7B
-
Method Summary
Modifier and TypeMethodDescriptiontoString()
static MistralAiChatModelName
Returns the enum constant of this class with the specified name.static MistralAiChatModelName[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPEN_MISTRAL_7B
-
MISTRAL_TINY
Deprecated, for removal: This API element is subject to removal in a future version.As of release 0.29.0, replaced byOPEN_MISTRAL_7B
-
OPEN_MIXTRAL_8x7B
-
OPEN_MIXTRAL_8X22B
-
MISTRAL_SMALL
Deprecated, for removal: This API element is subject to removal in a future version.As of release 0.29.0, replaced byMISTRAL_SMALL_LATEST
-
MISTRAL_SMALL_LATEST
-
MISTRAL_MEDIUM
Deprecated, for removal: This API element is subject to removal in a future version.As of release 0.29.0, replaced byMISTRAL_MEDIUM_LATEST
-
MISTRAL_MEDIUM_LATEST
-
MISTRAL_LARGE_LATEST
-
MISTRAL_MODERATION_LATEST
-
-
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
-
toString
- Overrides:
toString
in classEnum<MistralAiChatModelName>
-
MISTRAL_MEDIUM_LATEST