Package | Description |
---|---|
com.oracle.bmc.generativeaiinference.model |
Modifier and Type | Method and Description |
---|---|
static CohereChatRequest.CitationQuality |
CohereChatRequest.CitationQuality.create(String key) |
CohereChatRequest.CitationQuality |
CohereChatRequest.getCitationQuality()
When FAST is selected, citations are generated at the same time as the text output and the
request will be completed sooner.
|
static CohereChatRequest.CitationQuality |
CohereChatRequest.CitationQuality.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CohereChatRequest.CitationQuality[] |
CohereChatRequest.CitationQuality.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CohereChatRequest.Builder |
CohereChatRequest.Builder.citationQuality(CohereChatRequest.CitationQuality citationQuality)
When FAST is selected, citations are generated at the same time as the text output and
the request will be completed sooner.
|
Constructor and Description |
---|
CohereChatRequest(String message,
List<CohereMessage> chatHistory,
List<Object> documents,
Boolean isSearchQueriesOnly,
String preambleOverride,
Boolean isStream,
Integer maxTokens,
Double temperature,
Integer topK,
Double topP,
CohereChatRequest.PromptTruncation promptTruncation,
Double frequencyPenalty,
Double presencePenalty,
Integer seed,
Boolean isEcho,
List<CohereTool> tools,
List<CohereToolResult> toolResults,
Boolean isForceSingleStep,
List<String> stopSequences,
Boolean isRawPrompting,
CohereChatRequest.CitationQuality citationQuality)
Deprecated.
|
Copyright © 2016–2024. All rights reserved.