Uses of Enum Class
dev.langchain4j.model.vertexai.gemini.HarmCategory
Packages that use HarmCategory
-
Uses of HarmCategory in dev.langchain4j.model.vertexai.gemini
Subclasses with type arguments of type HarmCategory in dev.langchain4j.model.vertexai.geminiModifier and TypeClassDescriptionenum
Possible harm categories for the generation of responses that have been blocked by the model.Methods in dev.langchain4j.model.vertexai.gemini that return HarmCategoryModifier and TypeMethodDescriptionstatic HarmCategory
Returns the enum constant of this class with the specified name.static HarmCategory[]
HarmCategory.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 HarmCategoryModifier 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 HarmCategoryModifierConstructorDescriptionVertexAiGeminiChatModel
(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, Executor executor) Deprecated, for removal: This API element is subject to removal in a future version.please useVertexAiGeminiStreamingChatModel(VertexAiGeminiStreamingChatModelBuilder)
instead
VertexAiGeminiChatModel(VertexAiGeminiChatModelBuilder)
instead