GeminiSafetySetting Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a safety setting for the Gemini prompt.
public sealed class GeminiSafetySetting
type GeminiSafetySetting = class
Public NotInheritable Class GeminiSafetySetting
- Inheritance
-
GeminiSafetySetting
Constructors
GeminiSafetySetting(GeminiSafetyCategory, GeminiSafetyThreshold) |
Initializes a new instance of the Gemini GeminiSafetySetting class. |
GeminiSafetySetting(GeminiSafetySetting) |
Initializes a new instance of the Gemini GeminiSafetySetting class by cloning another instance. |
Properties
Category |
Gets or sets the safety category. |
Threshold |
Gets or sets the safety threshold. |