Enum Class AnthropicApi.AnthropicSkill

java.lang.Object
java.lang.Enum<AnthropicApi.AnthropicSkill>
org.springframework.ai.anthropic.api.AnthropicApi.AnthropicSkill
All Implemented Interfaces:
Serializable, Comparable<AnthropicApi.AnthropicSkill>, Constable
Enclosing class:
AnthropicApi

public static enum AnthropicApi.AnthropicSkill extends Enum<AnthropicApi.AnthropicSkill>
Pre-built Anthropic Skills for document generation.
Since:
1.0.0
Author:
Christian Tzolov, Mariusz Bernacki, Thomas Vitale, Jihoon Kim, Alexandros Pappas, Jonghoon Park, Claudio Silva Junior, Filip Hrisafov, Soby Chacko, Austin Dase
  • Enum Constant Details

  • Method Details

    • values

      public static AnthropicApi.AnthropicSkill[] 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 AnthropicApi.AnthropicSkill 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
    • getSkillId

      public String getSkillId()
    • getDescription

      public String getDescription()
    • toSkill

      public AnthropicApi.Skill toSkill()
      Convert to a Skill record with latest version.
      Returns:
      Skill record
    • toSkill

      public AnthropicApi.Skill toSkill(String version)
      Convert to a Skill record with specific version.
      Parameters:
      version - Version string
      Returns:
      Skill record