Class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec
Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2.Data
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec : 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<GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint> ControlPoints { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint> |
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 |