Enum Class DeepSeekApi.ChatModel

java.lang.Object
java.lang.Enum<DeepSeekApi.ChatModel>
org.springframework.ai.deepseek.api.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
  • Enum Constant Details

    • DEEPSEEK_CHAT

      public static final DeepSeekApi.ChatModel 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

      public static final DeepSeekApi.ChatModel 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

      public final String value
  • Method Details

    • values

      public static DeepSeekApi.ChatModel[] 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

      public static DeepSeekApi.ChatModel valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • getName

      public String getName()
      Description copied from interface: ModelDescription
      Returns the name of the model.
      Specified by:
      getName in interface ModelDescription
      Returns:
      the name of the model