Class GuardrailContentFilter
Guardrail that bans certain content from being used in the conversation.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1.dll
Syntax
public class GuardrailContentFilter : IDirectResponseSchema
Properties
BannedContents
Optional. List of banned phrases. Applies to both user inputs and agent responses.
Declaration
[JsonProperty("bannedContents")]
public virtual IList<string> BannedContents { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
BannedContentsInAgentResponse
Optional. List of banned phrases. Applies only to agent responses.
Declaration
[JsonProperty("bannedContentsInAgentResponse")]
public virtual IList<string> BannedContentsInAgentResponse { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
BannedContentsInUserInput
Optional. List of banned phrases. Applies only to user inputs.
Declaration
[JsonProperty("bannedContentsInUserInput")]
public virtual IList<string> BannedContentsInUserInput { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
DisregardDiacritics
Optional. If true, diacritics are ignored during matching.
Declaration
[JsonProperty("disregardDiacritics")]
public virtual bool? DisregardDiacritics { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MatchType
Required. Match type for the content filter.
Declaration
[JsonProperty("matchType")]
public virtual string MatchType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |