GenerativeModelSafetySettings Property
Gets or sets the collection of safety settings that define constraints or limits
on content generation. This property is used to enforce specified safety rules
to ensure the generated content aligns with predetermined guidelines or restrictions.
Namespace: GenerativeAIAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public List<SafetySetting>? SafetySettings { get; set; }
Property Value
ListSafetySetting