Class GeminiSafetySettings
- Namespace
- Uralstech.UGemini.Models.Generation.Safety
Safety setting, affecting the safety-blocking behavior.
public class GeminiSafetySettings
- Inheritance
-
GeminiSafetySettings
- Extension Methods
Remarks
Passing a safety setting for a category changes the allowed probability that content is blocked.
Fields
Category
The category for this setting.
public GeminiSafetyHarmCategory Category
Field Value
Threshold
Controls the probability threshold at which harm is blocked.
public GeminiSafetyHarmBlockThreshold Threshold