Show / Hide Table of Contents

Class GuardrailContentFilter

Guardrail that bans certain content from being used in the conversation.

Inheritance
object
GuardrailContentFilter
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

SensitiveWordsExemptions

Optional. Entries of the sensitive words list that this guardrail allows. Only valid when match_type is SENSITIVE_WORDS. Each value must equal a list entry (case-insensitive, surrounding whitespace ignored); other values have no effect. Applies to this guardrail only. At most 1000 entries of up to 256 characters each.

Declaration
[JsonProperty("sensitiveWordsExemptions")]
public virtual IList<string> SensitiveWordsExemptions { get; set; }
Property Value
Type Description
IList<string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX