Enum GenericChatRequest.Verbosity
- java.lang.Object
-
- java.lang.Enum<GenericChatRequest.Verbosity>
-
- com.oracle.bmc.generativeaiinference.model.GenericChatRequest.Verbosity
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<GenericChatRequest.Verbosity>
- Enclosing class:
- GenericChatRequest
public static enum GenericChatRequest.Verbosity extends Enum<GenericChatRequest.Verbosity> implements BmcEnum
Constrains the verbosity of the model’s response.Lower values will result in more concise responses, while higher values will result in more verbose responses.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GenericChatRequest.Verbosity
create(String key)
String
getValue()
static GenericChatRequest.Verbosity
valueOf(String name)
Returns the enum constant of this type with the specified name.static GenericChatRequest.Verbosity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Low
public static final GenericChatRequest.Verbosity Low
-
Medium
public static final GenericChatRequest.Verbosity Medium
-
High
public static final GenericChatRequest.Verbosity High
-
-
Method Detail
-
values
public static GenericChatRequest.Verbosity[] 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.Verbosity c : GenericChatRequest.Verbosity.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.Verbosity 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.Verbosity create(String key)
-
-