Enum Class ExternalAPI.ReasoningEffort
- All Implemented Interfaces:
Serializable, Comparable<ExternalAPI.ReasoningEffort>, Constable
- Enclosing class:
ExternalAPI
Represents the different levels of effort that can be used by a reasoning
model during
text completion.
Higher levels of effort use more output tokens but may generate better
quality responses.- Author:
- Stephen G. Ware
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ExternalAPI.ReasoningEffortReturns the enum constant of this class with the specified name.static ExternalAPI.ReasoningEffort[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAX
Highest level of reasoning effort -
HIGH
High reasoning effort -
LOW
Lowest level of reasoning effort -
NONE
Do not perform reasoning
-
-
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
-