Enum CohereLlmInferenceRequest.ReturnLikelihoods
- java.lang.Object
-
- java.lang.Enum<CohereLlmInferenceRequest.ReturnLikelihoods>
-
- com.oracle.bmc.generativeaiinference.model.CohereLlmInferenceRequest.ReturnLikelihoods
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<CohereLlmInferenceRequest.ReturnLikelihoods>
- Enclosing class:
- CohereLlmInferenceRequest
public static enum CohereLlmInferenceRequest.ReturnLikelihoods extends Enum<CohereLlmInferenceRequest.ReturnLikelihoods> implements BmcEnum
Specifies how and if the token likelihoods are returned with the response.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AllGenerationNone
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CohereLlmInferenceRequest.ReturnLikelihoodscreate(String key)StringgetValue()static CohereLlmInferenceRequest.ReturnLikelihoodsvalueOf(String name)Returns the enum constant of this type with the specified name.static CohereLlmInferenceRequest.ReturnLikelihoods[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final CohereLlmInferenceRequest.ReturnLikelihoods None
-
All
public static final CohereLlmInferenceRequest.ReturnLikelihoods All
-
Generation
public static final CohereLlmInferenceRequest.ReturnLikelihoods Generation
-
-
Method Detail
-
values
public static CohereLlmInferenceRequest.ReturnLikelihoods[] 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 (CohereLlmInferenceRequest.ReturnLikelihoods c : CohereLlmInferenceRequest.ReturnLikelihoods.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CohereLlmInferenceRequest.ReturnLikelihoods 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 CohereLlmInferenceRequest.ReturnLikelihoods create(String key)
-
-