Uses of Class
com.oracle.bmc.generativeaiinference.model.CohereChatRequest.SafetyMode
-
Packages that use CohereChatRequest.SafetyMode Package Description com.oracle.bmc.generativeaiinference.model -
-
Uses of CohereChatRequest.SafetyMode in com.oracle.bmc.generativeaiinference.model
Methods in com.oracle.bmc.generativeaiinference.model that return CohereChatRequest.SafetyMode Modifier and Type Method Description static CohereChatRequest.SafetyMode
CohereChatRequest.SafetyMode. create(String key)
CohereChatRequest.SafetyMode
CohereChatRequest. getSafetyMode()
Safety mode: Adds a safety instruction for the model to use when generating responses.static CohereChatRequest.SafetyMode
CohereChatRequest.SafetyMode. valueOf(String name)
Returns the enum constant of this type with the specified name.static CohereChatRequest.SafetyMode[]
CohereChatRequest.SafetyMode. 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.SafetyMode Modifier and Type Method Description CohereChatRequest.Builder
CohereChatRequest.Builder. safetyMode(CohereChatRequest.SafetyMode safetyMode)
Safety mode: Adds a safety instruction for the model to use when generating responses.Constructors in com.oracle.bmc.generativeaiinference.model with parameters of type CohereChatRequest.SafetyMode 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.
-