Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase

Definition of a customer-defined banned phrase. A banned phrase is not allowed to appear in the user query or the LLM response, or else the answer will be refused.

Inheritance
object
GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase
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.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

IgnoreDiacritics

Optional. If true, diacritical marks (e.g., accents, umlauts) are ignored when matching banned phrases. For example, "cafe" would match "café".

Declaration
[JsonProperty("ignoreDiacritics")]
public virtual bool? IgnoreDiacritics { get; set; }
Property Value
Type Description
bool?

MatchType

Optional. Match type for the banned phrase.

Declaration
[JsonProperty("matchType")]
public virtual string MatchType { get; set; }
Property Value
Type Description
string

Phrase

Required. The raw string content to be banned.

Declaration
[JsonProperty("phrase")]
public virtual string Phrase { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX