Class: Google::Cloud::DiscoveryEngine::V1::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/search_service.rb
Overview
The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).
Instance Attribute Summary collapse
-
#attribute_value ⇒ ::String
Can be one of: 1.
-
#boost_amount ⇒ ::Float
The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.
Instance Attribute Details
#attribute_value ⇒ ::String
Returns Can be one of:
- The numerical field value.
- The duration spec for freshness:
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]]
.
531 532 533 534 |
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 531 class ControlPoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#boost_amount ⇒ ::Float
Returns The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.
531 532 533 534 |
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 531 class ControlPoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |