Enum Class OpenAiCompatibleReasoningStyle

java.lang.Object
java.lang.Enum<OpenAiCompatibleReasoningStyle>
uno.anahata.asi.openai.compatible.OpenAiCompatibleReasoningStyle
All Implemented Interfaces:
Serializable, Comparable<OpenAiCompatibleReasoningStyle>, Constable

public enum OpenAiCompatibleReasoningStyle extends Enum<OpenAiCompatibleReasoningStyle>
Defines the strategy for extracting reasoning/thought content from an OpenAI-compatible response.
  • Enum Constant Details

    • NONE

      public static final OpenAiCompatibleReasoningStyle NONE
      No specialized reasoning extraction. All content is treated as final output.
    • FIELD

      public static final OpenAiCompatibleReasoningStyle FIELD
      Indicates that reasoning/thought content is provided in a dedicated top-level field (e.g., 'reasoning_content').
    • TAGS

      public static final OpenAiCompatibleReasoningStyle TAGS
      Indicates that reasoning/thought content is embedded within the main content field wrapped in specific tags (e.g., <think>...</think>).
  • Constructor Details

    • OpenAiCompatibleReasoningStyle

      private OpenAiCompatibleReasoningStyle()
  • Method Details

    • values

      public static OpenAiCompatibleReasoningStyle[] 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 OpenAiCompatibleReasoningStyle 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