UGemini 2.0.1
A C# wrapper for the Google Gemini API.
Loading...
Searching...
No Matches
Uralstech.UGemini.Models.Generation.Safety.GeminiSafetySettings Class Reference

Safety setting, affecting the safety-blocking behavior. More...

Public Attributes

GeminiSafetyHarmCategory Category
 The category for this setting.
 
GeminiSafetyHarmBlockThreshold Threshold
 Controls the probability threshold at which harm is blocked.
 

Detailed Description

Safety setting, affecting the safety-blocking behavior.

Passing a safety setting for a category changes the allowed probability that content is blocked.


The documentation for this class was generated from the following file: