Class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase
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.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyBannedPhrase : 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 |