Package | Description |
---|---|
com.oracle.bmc.generativeaiinference.model |
Modifier and Type | Method and Description |
---|---|
CohereToolResult |
CohereToolResult.Builder.build() |
Modifier and Type | Method and Description |
---|---|
List<CohereToolResult> |
CohereChatRequest.getToolResults()
A list of results from invoking tools recommended by the model in the previous chat turn.
|
List<CohereToolResult> |
CohereToolMessage.getToolResults()
A list of results from invoking tools recommended by the model in the previous chat turn.
|
Modifier and Type | Method and Description |
---|---|
CohereToolResult.Builder |
CohereToolResult.Builder.copy(CohereToolResult model) |
Modifier and Type | Method and Description |
---|---|
CohereChatRequest.Builder |
CohereChatRequest.Builder.toolResults(List<CohereToolResult> toolResults)
A list of results from invoking tools recommended by the model in the previous chat turn.
|
CohereToolMessage.Builder |
CohereToolMessage.Builder.toolResults(List<CohereToolResult> toolResults)
A list of results from invoking tools recommended by the model in the previous chat turn.
|
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.
|
CohereToolMessage(List<CohereToolResult> toolResults)
Deprecated.
|
Copyright © 2016–2024. All rights reserved.