Class: Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/conversation.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
Optional.
-
#boost_amount ⇒ ::Float
Optional.
Instance Attribute Details
#attribute_value ⇒ ::String
Returns Optional. 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]]
.
850 851 852 853 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 850 class ControlPoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#boost_amount ⇒ ::Float
Returns Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.
850 851 852 853 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 850 class ControlPoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |