Class GoogleCloudDialogflowCxV3beta1SafetySettings
Settings for Generative Safety.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1.Data
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class GoogleCloudDialogflowCxV3beta1SafetySettings : IDirectResponseSchema
Properties
BannedPhrases
Banned phrases for generated text.
Declaration
[JsonProperty("bannedPhrases")]
public virtual IList<GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase> BannedPhrases { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase> |
DefaultBannedPhraseMatchStrategy
Optional. Default phrase match strategy for banned phrases.
Declaration
[JsonProperty("defaultBannedPhraseMatchStrategy")]
public virtual string DefaultBannedPhraseMatchStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DefaultRaiSettings
Optional. Immutable. Default RAI settings to be annotated on the agent, so that users will be able to restore their RAI configurations to the default settings. Read-only field for the API proto only.
Declaration
[JsonProperty("defaultRaiSettings")]
public virtual GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings DefaultRaiSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PromptSecuritySettings
Optional. Settings for prompt security checks.
Declaration
[JsonProperty("promptSecuritySettings")]
public virtual GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings PromptSecuritySettings { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings |
RaiSettings
Optional. Settings for Responsible AI checks.
Declaration
[JsonProperty("raiSettings")]
public virtual GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings RaiSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings |