Package | Description |
---|---|
com.oracle.bmc.generativeaiinference.model |
Modifier and Type | Method and Description |
---|---|
static CohereChatRequest.PromptTruncation |
CohereChatRequest.PromptTruncation.create(String key) |
CohereChatRequest.PromptTruncation |
CohereChatRequest.getPromptTruncation()
Defaults to OFF.
|
static CohereChatRequest.PromptTruncation |
CohereChatRequest.PromptTruncation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CohereChatRequest.PromptTruncation[] |
CohereChatRequest.PromptTruncation.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.promptTruncation(CohereChatRequest.PromptTruncation promptTruncation)
Defaults to OFF.
|
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.