Class GoogleGenAiSafetySetting
java.lang.Object
org.springframework.ai.google.genai.common.GoogleGenAiSafetySetting
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static enum
Enum representing methods for evaluating harmful content.static enum
Enum representing different threshold levels for blocking harmful content.static enum
Enum representing different categories of harmful content. -
Constructor Summary
ConstructorsConstructorDescriptionGoogleGenAiSafetySetting
(GoogleGenAiSafetySetting.HarmCategory category, GoogleGenAiSafetySetting.HarmBlockThreshold threshold, GoogleGenAiSafetySetting.HarmBlockMethod method) -
Method Summary
-
Constructor Details
-
GoogleGenAiSafetySetting
public GoogleGenAiSafetySetting() -
GoogleGenAiSafetySetting
public GoogleGenAiSafetySetting(GoogleGenAiSafetySetting.HarmCategory category, GoogleGenAiSafetySetting.HarmBlockThreshold threshold, GoogleGenAiSafetySetting.HarmBlockMethod method)
-
-
Method Details