Class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec
Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3.Data
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec : IDirectResponseSchema
Properties
AttributeType
Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).
Declaration
[JsonProperty("attributeType")]
public virtual string AttributeType { get; set; }
Property Value
Type | Description |
---|---|
string |
ControlPoints
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
Declaration
[JsonProperty("controlPoints")]
public virtual IList<GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint> ControlPoints { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FieldName
Optional. The name of the field whose value will be used to determine the boost amount.
Declaration
[JsonProperty("fieldName")]
public virtual string FieldName { get; set; }
Property Value
Type | Description |
---|---|
string |
InterpolationType
Optional. The interpolation type to be applied to connect the control points listed below.
Declaration
[JsonProperty("interpolationType")]
public virtual string InterpolationType { get; set; }
Property Value
Type | Description |
---|---|
string |