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 and Description |
---|
All |
Generation |
None |
Modifier and Type | Method and Description |
---|---|
static CohereLlmInferenceRequest.ReturnLikelihoods |
create(String key) |
String |
getValue() |
static CohereLlmInferenceRequest.ReturnLikelihoods |
valueOf(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.
|
public static final CohereLlmInferenceRequest.ReturnLikelihoods None
public static final CohereLlmInferenceRequest.ReturnLikelihoods All
public static final CohereLlmInferenceRequest.ReturnLikelihoods Generation
public static CohereLlmInferenceRequest.ReturnLikelihoods[] values()
for (CohereLlmInferenceRequest.ReturnLikelihoods c : CohereLlmInferenceRequest.ReturnLikelihoods.values()) System.out.println(c);
public static CohereLlmInferenceRequest.ReturnLikelihoods valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CohereLlmInferenceRequest.ReturnLikelihoods create(String key)
Copyright © 2016–2024. All rights reserved.