struct
AI::Google::SafetySetting
- AI::Google::SafetySetting
- Struct
- Value
- Object
Overview
Safety setting for content filtering.
Included Modules
- JSON::Serializable
Defined in:
ai/google/google_generative_ai_options.crConstructors
- .new(category : String, threshold : String)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#category : String
Harm category to filter.
-
#threshold : String
Threshold level for blocking.