Enum Class OpenAiCompatibleReasoningStyle
java.lang.Object
java.lang.Enum<OpenAiCompatibleReasoningStyle>
uno.anahata.asi.openai.compatible.OpenAiCompatibleReasoningStyle
- All Implemented Interfaces:
Serializable, Comparable<OpenAiCompatibleReasoningStyle>, Constable
Defines the strategy for extracting reasoning/thought content from an
OpenAI-compatible response.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that reasoning/thought content is provided in a dedicated top-level field (e.g., 'reasoning_content').No specialized reasoning extraction.Indicates that reasoning/thought content is embedded within the main content field wrapped in specific tags (e.g., <think>...</think>). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static OpenAiCompatibleReasoningStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No specialized reasoning extraction. All content is treated as final output. -
FIELD
Indicates that reasoning/thought content is provided in a dedicated top-level field (e.g., 'reasoning_content'). -
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
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
-

