Package dev.langchain4j.model.mistralai
Enum MistralAiChatModelName
- All Implemented Interfaces:
Serializable,Comparable<MistralAiChatModelName>,java.lang.constant.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:
MISTRAL_TINY- powered by Mistral-7B-v0.2MISTRAL_SMALL- powered by Mixtral-8X7B-v0.1MISTRAL_MEDIUM- currently relies on an internal prototype model
- 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 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
-
MISTRAL_TINY
-
MISTRAL_SMALL
-
MISTRAL_MEDIUM
-
-
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>
-