Class SafetySetting.Builder
java.lang.Object
com.google.genai.gaos.models.interactions.SafetySetting.Builder
- Enclosing class:
- SafetySetting
-
Method Summary
-
Method Details
-
method
Optional. The method for blocking content. If not specified, the default behavior is to use the probability score. -
threshold
Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked. -
type
-
build
-