struct Gemini::SafetySetting

Overview

Safety setting, affecting the safety-blocking behavior.

API Reference

Included Modules

Defined in:

gemini/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(category : Gemini::HarmCategory, threshold : Gemini::HarmBlockThreshold) #

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def category : HarmCategory #

def threshold : HarmBlockThreshold #