Uses of Class
com.oracle.bmc.generativeaiinference.model.CohereMessage
-
Packages that use CohereMessage Package Description com.oracle.bmc.generativeaiinference.model -
-
Uses of CohereMessage in com.oracle.bmc.generativeaiinference.model
Subclasses of CohereMessage in com.oracle.bmc.generativeaiinference.model Modifier and Type Class 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.Methods in com.oracle.bmc.generativeaiinference.model that return types with arguments of type CohereMessage Modifier and Type Method Description List<CohereMessage>
CohereChatRequest. getChatHistory()
The list of previous messages between the user and the model.List<CohereMessage>
CohereChatResponse. getChatHistory()
The list of previous messages between the user and the model.Method parameters in com.oracle.bmc.generativeaiinference.model with type arguments of type CohereMessage Modifier and Type Method Description CohereChatRequest.Builder
CohereChatRequest.Builder. chatHistory(List<CohereMessage> chatHistory)
The list of previous messages between the user and the model.CohereChatResponse.Builder
CohereChatResponse.Builder. chatHistory(List<CohereMessage> chatHistory)
The list of previous messages between the user and the model.Constructor parameters in com.oracle.bmc.generativeaiinference.model with type arguments of type CohereMessage Constructor Description CohereChatRequest(String message, List<CohereMessage> chatHistory, List<Object> documents, CohereResponseFormat responseFormat, Boolean isSearchQueriesOnly, String preambleOverride, Boolean isStream, StreamOptions streamOptions, 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, CohereChatRequest.SafetyMode safetyMode)
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, Usage usage)
Deprecated.
-