Google Cloud Dialogflow v2 API - Enum SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec.Types.AttributeType (4.26.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Dialogflow v2 API enum SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec.Types.AttributeType.
The attribute(or function) for which the custom ranking is to be
applied.
For the freshness use case the attribute value will be the
duration between the current time and the date in the datetime
field specified. The value must be formatted as an XSD
dayTimeDuration value (a restricted subset of an ISO 8601
duration value). The pattern for this is:
[nD][T[nH][nM][nS]]. E.g. 5D, 3DT12H30M, T24H.
Numerical
The value of the numerical field will be used to dynamically
update the boost amount. In this case, the attribute_value (the
x value) of the control point will be the actual value of the
numerical field for which the boost_amount is specified.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides reference documentation for the `AttributeType` enum within the Google Cloud Dialogflow v2 API, specifically for the `SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec.Types` namespace."],["The `AttributeType` enum defines the attribute or function for which custom ranking can be applied, offering options like `Freshness` (based on time duration) and `Numerical` (based on numerical field values), as well as `Unspecified`."],["The latest version of the documentation available is 4.26.0, and the page includes documentation for numerous versions, dating back to 3.2.0, with each version representing a specific release of the Dialogflow V2 API."],["Each version of the documentation is linked, which allows developers to quickly navigate to the documentation for whichever specific version of the .NET API they are using."]]],[]]