Uses of Class
com.oracle.bmc.generativeaiinference.model.CohereChatRequest.PromptTruncation
-
Packages that use CohereChatRequest.PromptTruncation Package Description com.oracle.bmc.generativeaiinference.model -
-
Uses of CohereChatRequest.PromptTruncation in com.oracle.bmc.generativeaiinference.model
Methods in com.oracle.bmc.generativeaiinference.model that return CohereChatRequest.PromptTruncation Modifier and Type Method Description static CohereChatRequest.PromptTruncation
CohereChatRequest.PromptTruncation. create(String key)
CohereChatRequest.PromptTruncation
CohereChatRequest. getPromptTruncation()
Defaults to OFF.static CohereChatRequest.PromptTruncation
CohereChatRequest.PromptTruncation. valueOf(String name)
Returns the enum constant of this type with the specified name.static CohereChatRequest.PromptTruncation[]
CohereChatRequest.PromptTruncation. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.oracle.bmc.generativeaiinference.model with parameters of type CohereChatRequest.PromptTruncation Modifier and Type Method Description CohereChatRequest.Builder
CohereChatRequest.Builder. promptTruncation(CohereChatRequest.PromptTruncation promptTruncation)
Defaults to OFF.Constructors in com.oracle.bmc.generativeaiinference.model with parameters of type CohereChatRequest.PromptTruncation Constructor 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.
-