Class: Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb
Overview
Represents intent information communicated to the webhook.
Defined Under Namespace
Classes: IntentParameterValue, ParametersEntry
Instance Attribute Summary collapse
-
#confidence ⇒ ::Float
The confidence of the matched intent.
-
#display_name ⇒ ::String
Always present.
-
#last_matched_intent ⇒ ::String
Always present.
-
#parameters ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo::IntentParameterValue}
Parameters identified as a result of intent matching.
Instance Attribute Details
#confidence ⇒ ::Float
Returns The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 387 class IntentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a value for an intent parameter. # @!attribute [rw] original_value # @return [::String] # Always present. Original text value extracted from user utterance. # @!attribute [rw] resolved_value # @return [::Google::Protobuf::Value] # Always present. Structured value for the parameter extracted from user # utterance. class IntentParameterValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo::IntentParameterValue] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#display_name ⇒ ::String
Returns Always present. The display name of the last matched intent.
387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 387 class IntentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a value for an intent parameter. # @!attribute [rw] original_value # @return [::String] # Always present. Original text value extracted from user utterance. # @!attribute [rw] resolved_value # @return [::Google::Protobuf::Value] # Always present. Structured value for the parameter extracted from user # utterance. class IntentParameterValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo::IntentParameterValue] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#last_matched_intent ⇒ ::String
Returns Always present. The unique identifier of the last matched
intent.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/intents/<Intent ID>.
387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 387 class IntentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a value for an intent parameter. # @!attribute [rw] original_value # @return [::String] # Always present. Original text value extracted from user utterance. # @!attribute [rw] resolved_value # @return [::Google::Protobuf::Value] # Always present. Structured value for the parameter extracted from user # utterance. class IntentParameterValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo::IntentParameterValue] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#parameters ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo::IntentParameterValue}
Returns Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb', line 387 class IntentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a value for an intent parameter. # @!attribute [rw] original_value # @return [::String] # Always present. Original text value extracted from user utterance. # @!attribute [rw] resolved_value # @return [::Google::Protobuf::Value] # Always present. Structured value for the parameter extracted from user # utterance. class IntentParameterValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::Dialogflow::CX::V3::WebhookRequest::IntentInfo::IntentParameterValue] class ParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |