Class GoogleCloudRetailV2betaIntentClassificationConfigExample
An example for intent classification.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2beta.Data
Assembly: Google.Apis.CloudRetail.v2beta.dll
Syntax
public class GoogleCloudRetailV2betaIntentClassificationConfigExample : IDirectResponseSchema
Properties
ClassifiedPositive
Required. Whether the example is classified positively.
Declaration
[JsonProperty("classifiedPositive")]
public virtual bool? ClassifiedPositive { 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 |
IntentType
Optional. The intent_type 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("intentType")]
public virtual string IntentType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Query
Required. Example query.
Declaration
[JsonProperty("query")]
public virtual string Query { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Reason
Optional. The reason for the intent classification. This is used to explain the intent classification decision.
Declaration
[JsonProperty("reason")]
public virtual string Reason { get; set; }
Property Value
| Type | Description |
|---|---|
| string |