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 ConstantDescriptionThe backend model of deepseek-chat has been updated to DeepSeek-V3, you can access DeepSeek-V3 without modification to the model name.deepseek-reasoner is a reasoning model developed by DeepSeek. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of the model.getValue()
static DeepSeekApi.ChatModel
Returns 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, valueOf
Methods inherited from interface org.springframework.ai.model.ModelDescription
getDescription, getVersion
-
Enum Constant Details
-
DEEPSEEK_CHAT
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
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:ModelDescription
Returns the name of the model.- Specified by:
getName
in interfaceModelDescription
- Returns:
- the name of the model
-