Uses of Enum Class
dev.langchain4j.model.vertexai.gemini.SafetyThreshold
Packages that use SafetyThreshold
-
Uses of SafetyThreshold in dev.langchain4j.model.vertexai.gemini
Methods in dev.langchain4j.model.vertexai.gemini that return SafetyThresholdModifier and TypeMethodDescriptionstatic SafetyThreshold
Returns the enum constant of this class with the specified name.static SafetyThreshold[]
SafetyThreshold.values()
Returns an array containing the constants of this enum class, in the order they are declared.Method parameters in dev.langchain4j.model.vertexai.gemini with type arguments of type SafetyThresholdModifier and TypeMethodDescriptionVertexAiGeminiChatModel.VertexAiGeminiChatModelBuilder.safetySettings
(Map<HarmCategory, SafetyThreshold> safetySettings) VertexAiGeminiStreamingChatModel.VertexAiGeminiStreamingChatModelBuilder.safetySettings
(Map<HarmCategory, SafetyThreshold> safetySettings) Constructor parameters in dev.langchain4j.model.vertexai.gemini with type arguments of type SafetyThresholdModifierConstructorDescriptionVertexAiGeminiChatModel
(String project, String location, String modelName, Float temperature, Integer maxOutputTokens, Integer topK, Float topP, Integer seed, Integer maxRetries, String responseMimeType, com.google.cloud.vertexai.api.Schema responseSchema, Map<HarmCategory, SafetyThreshold> safetySettings, Boolean useGoogleSearch, String vertexSearchDatastore, ToolCallingMode toolCallingMode, List<String> allowedFunctionNames, Boolean logRequests, Boolean logResponses, List<ChatModelListener> listeners, Set<Capability> supportedCapabilities) Deprecated, for removal: This API element is subject to removal in a future version.VertexAiGeminiStreamingChatModel
(String project, String location, String modelName, Float temperature, Integer maxOutputTokens, Integer topK, Float topP, String responseMimeType, com.google.cloud.vertexai.api.Schema responseSchema, Map<HarmCategory, SafetyThreshold> safetySettings, Boolean useGoogleSearch, String vertexSearchDatastore, ToolCallingMode toolCallingMode, List<String> allowedFunctionNames, Boolean logRequests, Boolean logResponses, List<ChatModelListener> listeners, Map<String, String> customHeaders) Deprecated, for removal: This API element is subject to removal in a future version.please useVertexAiGeminiStreamingChatModel(VertexAiGeminiStreamingChatModelBuilder)
instead
VertexAiGeminiChatModel(VertexAiGeminiChatModelBuilder)
instead