public static enum CohereChatRequest.CitationQuality extends Enum<CohereChatRequest.CitationQuality> implements BmcEnum
When FAST is selected, citations are generated at the same time as the text output and the request will be completed sooner. May result in less accurate citations.
Modifier and Type | Method and Description |
---|---|
static CohereChatRequest.CitationQuality |
create(String key) |
String |
getValue() |
static CohereChatRequest.CitationQuality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CohereChatRequest.CitationQuality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CohereChatRequest.CitationQuality Accurate
public static final CohereChatRequest.CitationQuality Fast
public static CohereChatRequest.CitationQuality[] values()
for (CohereChatRequest.CitationQuality c : CohereChatRequest.CitationQuality.values()) System.out.println(c);
public static CohereChatRequest.CitationQuality 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 CohereChatRequest.CitationQuality create(String key)
Copyright © 2016–2024. All rights reserved.