Enum Class LlamaTokenAttr

java.lang.Object
java.lang.Enum<LlamaTokenAttr>
chat.octet.model.enums.LlamaTokenAttr
All Implemented Interfaces:
Serializable, Comparable<LlamaTokenAttr>, java.lang.constant.Constable

public enum LlamaTokenAttr extends Enum<LlamaTokenAttr>
Llama token type define
Author:
William
  • Enum Constant Details

    • LLAMA_TOKEN_ATTR_UNDEFINED

      public static final LlamaTokenAttr LLAMA_TOKEN_ATTR_UNDEFINED
      Undefined type.
    • LLAMA_TOKEN_ATTR_UNKNOWN

      public static final LlamaTokenAttr LLAMA_TOKEN_ATTR_UNKNOWN
      Unknown type.
    • LLAMA_TOKEN_ATTR_UNUSED

      public static final LlamaTokenAttr LLAMA_TOKEN_ATTR_UNUSED
      Unused type.
    • LLAMA_TOKEN_ATTR_NORMAL

      public static final LlamaTokenAttr LLAMA_TOKEN_ATTR_NORMAL
      Normal type.
    • LLAMA_TOKEN_ATTR_CONTROL

      public static final LlamaTokenAttr LLAMA_TOKEN_ATTR_CONTROL
      Control type.
    • LLAMA_TOKEN_ATTR_USER_DEFINED

      public static final LlamaTokenAttr LLAMA_TOKEN_ATTR_USER_DEFINED
      User defined type.
    • LLAMA_TOKEN_ATTR_BYTE

      public static final LlamaTokenAttr LLAMA_TOKEN_ATTR_BYTE
      Byte type.
    • LLAMA_TOKEN_ATTR_NORMALIZED

      public static final LlamaTokenAttr LLAMA_TOKEN_ATTR_NORMALIZED
      Normalized type.
    • LLAMA_TOKEN_ATTR_LSTRIP

      public static final LlamaTokenAttr LLAMA_TOKEN_ATTR_LSTRIP
      Left strip type.
    • LLAMA_TOKEN_ATTR_RSTRIP

      public static final LlamaTokenAttr LLAMA_TOKEN_ATTR_RSTRIP
      Right strip type.
    • LLAMA_TOKEN_ATTR_SINGLE_WORD

      public static final LlamaTokenAttr LLAMA_TOKEN_ATTR_SINGLE_WORD
      Single word type.
  • Method Details

    • values

      public static LlamaTokenAttr[] 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 LlamaTokenAttr 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
    • valueOfType

      public static LlamaTokenAttr valueOfType(int type)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<LlamaTokenAttr>