Class GoogleCloudRetailV2betaIntentClassificationConfig
The public proto to represent the intent classification config. It will be converted to the internal proto in the backend.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2beta.Data
Assembly: Google.Apis.CloudRetail.v2beta.dll
Syntax
public class GoogleCloudRetailV2betaIntentClassificationConfig : IDirectResponseSchema
Properties
BlocklistKeywords
Optional. A list of keywords that will be used to classify the query to the "BLOCKLISTED" intent type. The keywords are case insensitive.
Declaration
[JsonProperty("blocklistKeywords")]
public virtual IList<string> BlocklistKeywords { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
DisabledIntentTypes
Optional. A list of intent types that will be disabled for this customer. The intent types must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype
Declaration
[JsonProperty("disabledIntentTypes")]
public virtual IList<string> DisabledIntentTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Example
Optional. A list of examples for intent classification.
Declaration
[JsonProperty("example")]
public virtual IList<GoogleCloudRetailV2betaIntentClassificationConfigExample> Example { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudRetailV2betaIntentClassificationConfigExample> |
InlineSource
Optional. Inline source for intent classifications.
Declaration
[JsonProperty("inlineSource")]
public virtual GoogleCloudRetailV2betaIntentClassificationConfigInlineSource InlineSource { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudRetailV2betaIntentClassificationConfigInlineSource |
ModelPreamble
Optional. Customers can use the preamble to specify any requirements for blocklisting intent classification. This preamble will be added to the blocklisting intent classification model prompt.
Declaration
[JsonProperty("modelPreamble")]
public virtual string ModelPreamble { get; set; }
Property Value
| Type | Description |
|---|---|
| string |