Package | Description |
---|---|
com.oracle.bmc.generativeaiinference.model |
Modifier and Type | Method and Description |
---|---|
CohereMessage |
CohereMessage.Builder.build() |
Modifier and Type | Method and Description |
---|---|
List<CohereMessage> |
CohereChatRequest.getChatHistory()
A list of previous messages between the user and the model, meant to give the model
conversational context for responding to the user’s message.
|
Modifier and Type | Method and Description |
---|---|
CohereMessage.Builder |
CohereMessage.Builder.copy(CohereMessage model) |
Modifier and Type | Method and Description |
---|---|
CohereChatRequest.Builder |
CohereChatRequest.Builder.chatHistory(List<CohereMessage> chatHistory)
A list of previous messages between the user and the model, meant to give the model
conversational context for responding to the user’s message.
|
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,
Double frequencyPenalty,
Double presencePenalty)
Deprecated.
|
Copyright © 2016–2024. All rights reserved.