Enum GenericChatRequest.ReasoningEffort
- java.lang.Object
-
- java.lang.Enum<GenericChatRequest.ReasoningEffort>
-
- com.oracle.bmc.generativeaiinference.model.GenericChatRequest.ReasoningEffort
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<GenericChatRequest.ReasoningEffort>
- Enclosing class:
- GenericChatRequest
public static enum GenericChatRequest.ReasoningEffort extends Enum<GenericChatRequest.ReasoningEffort> implements BmcEnum
Constrains effort on reasoning for reasoning models.Currently supported values are minimal, low, medium, and high. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GenericChatRequest.ReasoningEffort
create(String key)
String
getValue()
static GenericChatRequest.ReasoningEffort
valueOf(String name)
Returns the enum constant of this type with the specified name.static GenericChatRequest.ReasoningEffort[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Minimal
public static final GenericChatRequest.ReasoningEffort Minimal
-
Low
public static final GenericChatRequest.ReasoningEffort Low
-
Medium
public static final GenericChatRequest.ReasoningEffort Medium
-
High
public static final GenericChatRequest.ReasoningEffort High
-
-
Method Detail
-
values
public static GenericChatRequest.ReasoningEffort[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GenericChatRequest.ReasoningEffort c : GenericChatRequest.ReasoningEffort.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GenericChatRequest.ReasoningEffort valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static GenericChatRequest.ReasoningEffort create(String key)
-
-