Enum Class DeepSeekApi.ChatModel
- All Implemented Interfaces:
Serializable,Comparable<DeepSeekApi.ChatModel>,Constable,ChatModelDescription,ModelDescription
- Enclosing class:
- DeepSeekApi
public static enum DeepSeekApi.ChatModel
extends Enum<DeepSeekApi.ChatModel>
implements ChatModelDescription
DeepSeek Chat Completion
Models
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.DeepSeek has announced this legacy model name will be deprecated.Deprecated.DeepSeek has announced this legacy model name will be deprecated.DeepSeek-V4 Flash model.DeepSeek-V4 Pro model. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of the model.getValue()static DeepSeekApi.ChatModelReturns the enum constant of this class with the specified name.static DeepSeekApi.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, valueOfMethods inherited from interface org.springframework.ai.model.ModelDescription
getDescription, getVersion
-
Enum Constant Details
-
DEEPSEEK_V4_FLASH
DeepSeek-V4 Flash model. -
DEEPSEEK_V4_PRO
DeepSeek-V4 Pro model. -
DEEPSEEK_CHAT
Deprecated.DeepSeek has announced this legacy model name will be deprecated. PreferDEEPSEEK_V4_FLASHorDEEPSEEK_V4_PRO.The backend model of deepseek-chat has been updated to DeepSeek-V3, you can access DeepSeek-V3 without modification to the model name. The open-source DeepSeek-V3 model supports 128K context window, and DeepSeek-V3 on API/Web supports 64K context window. Context window: 64k tokens -
DEEPSEEK_REASONER
Deprecated.DeepSeek has announced this legacy model name will be deprecated. PreferDEEPSEEK_V4_FLASH/DEEPSEEK_V4_PROwith provider-specific reasoning configuration.deepseek-reasoner is a reasoning model developed by DeepSeek. Before delivering the final answer, the model first generates a Chain of Thought (CoT) to enhance the accuracy of its responses. Our API provides users with access to the CoT content generated by deepseek-reasoner, enabling them to view, display, and distill it.
-
-
Field Details
-
value
-
-
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:ModelDescriptionReturns the name of the model.- Specified by:
getNamein interfaceModelDescription- Returns:
- the name of the model
-