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.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX