Package | Description |
---|---|
com.oracle.bmc.generativeaiinference.model |
Modifier and Type | Class and Description |
---|---|
class |
CohereResponseJsonFormat
The json object format for the model structured output
Note: Objects should always be created or deserialized using the CohereResponseJsonFormat.Builder . |
class |
CohereResponseTextFormat
The text format for cohere model response
Note: Objects should always be created or deserialized using the CohereResponseTextFormat.Builder . |
Modifier and Type | Method and Description |
---|---|
CohereResponseFormat |
CohereChatRequest.getResponseFormat() |
Modifier and Type | Method and Description |
---|---|
CohereChatRequest.Builder |
CohereChatRequest.Builder.responseFormat(CohereResponseFormat responseFormat) |
Constructor and Description |
---|
CohereChatRequest(String message,
List<CohereMessage> chatHistory,
List<Object> documents,
CohereResponseFormat responseFormat,
Boolean isSearchQueriesOnly,
String preambleOverride,
Boolean isStream,
Integer maxTokens,
Integer maxInputTokens,
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.