Enum SummarizeTextDetails.Extractiveness
- java.lang.Object
-
- java.lang.Enum<SummarizeTextDetails.Extractiveness>
-
- com.oracle.bmc.generativeaiinference.model.SummarizeTextDetails.Extractiveness
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SummarizeTextDetails.Extractiveness>
- Enclosing class:
- SummarizeTextDetails
public static enum SummarizeTextDetails.Extractiveness extends Enum<SummarizeTextDetails.Extractiveness> implements BmcEnum
Controls how close to the original text the summary is.High extractiveness summaries will lean towards reusing sentences verbatim, while low extractiveness summaries will tend to paraphrase more.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SummarizeTextDetails.Extractiveness
create(String key)
String
getValue()
static SummarizeTextDetails.Extractiveness
valueOf(String name)
Returns the enum constant of this type with the specified name.static SummarizeTextDetails.Extractiveness[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Low
public static final SummarizeTextDetails.Extractiveness Low
-
Medium
public static final SummarizeTextDetails.Extractiveness Medium
-
High
public static final SummarizeTextDetails.Extractiveness High
-
Auto
public static final SummarizeTextDetails.Extractiveness Auto
-
-
Method Detail
-
values
public static SummarizeTextDetails.Extractiveness[] 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 (SummarizeTextDetails.Extractiveness c : SummarizeTextDetails.Extractiveness.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SummarizeTextDetails.Extractiveness 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 SummarizeTextDetails.Extractiveness create(String key)
-
-