Package | Description |
---|---|
com.oracle.bmc.generativeaiinference.model |
Modifier and Type | Class and Description |
---|---|
class |
CohereChatBotMessage
A message that represents a single chat dialog as CHATBOT role.
|
class |
CohereSystemMessage
A message that represents a single chat dialog as SYSTEM role.
|
class |
CohereToolMessage
A message that represents a single chat dialog as TOOL role.
|
class |
CohereUserMessage
A message that represents a single chat dialog as USER role.
|
Modifier and Type | Method and Description |
---|---|
List<CohereMessage> |
CohereChatResponse.getChatHistory()
The list of previous messages between the user and the model.
|
List<CohereMessage> |
CohereChatRequest.getChatHistory()
The list of previous messages between the user and the model.
|
Modifier and Type | Method and Description |
---|---|
CohereChatResponse.Builder |
CohereChatResponse.Builder.chatHistory(List<CohereMessage> chatHistory)
The list of previous messages between the user and the model.
|
CohereChatRequest.Builder |
CohereChatRequest.Builder.chatHistory(List<CohereMessage> chatHistory)
The list of previous messages between the user and the model.
|
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.
|
CohereChatResponse(String text,
List<CohereMessage> chatHistory,
List<Citation> citations,
Boolean isSearchRequired,
CohereChatResponse.FinishReason finishReason,
String errorMessage,
List<SearchQuery> searchQueries,
List<Object> documents,
List<CohereToolCall> toolCalls,
String prompt)
Deprecated.
|
Copyright © 2016–2024. All rights reserved.