Package dev.langchain4j.model.googleai
Class GeminiSafetySetting
java.lang.Object
dev.langchain4j.model.googleai.GeminiSafetySetting
-
Constructor Summary
ConstructorsConstructorDescriptionGeminiSafetySetting
(GeminiHarmCategory category, GeminiHarmBlockThreshold threshold) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setCategory
(GeminiHarmCategory category) void
setThreshold
(GeminiHarmBlockThreshold threshold)
-
Constructor Details
-
GeminiSafetySetting
-
-
Method Details
-
getCategory
-
getThreshold
-
setCategory
-
setThreshold
-