Class: Google::Cloud::Dialogflow::V2::ArticleAnswer
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::ArticleAnswer
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/participant.rb
Overview
Represents article answer.
Defined Under Namespace
Classes: MetadataEntry
Instance Attribute Summary collapse
-
#answer_record ⇒ ::String
The name of answer record, in the format of "projects/
/locations/ /answerRecords/ ". -
#confidence ⇒ ::Float
Article match confidence.
-
#metadata ⇒ ::Google::Protobuf::Map{::String => ::String}
A map that contains metadata about the answer and the document from which it originates.
-
#snippets ⇒ ::Array<::String>
Article snippets.
-
#title ⇒ ::String
The article title.
-
#uri ⇒ ::String
The article URI.
Instance Attribute Details
#answer_record ⇒ ::String
Returns The name of answer record, in the format of
"projects/
791 792 793 794 795 796 797 798 799 800 801 802 803 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 791 class ArticleAnswer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#confidence ⇒ ::Float
Returns Article match confidence. The system's confidence score that this article is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).
791 792 793 794 795 796 797 798 799 800 801 802 803 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 791 class ArticleAnswer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#metadata ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns A map that contains metadata about the answer and the document from which it originates.
791 792 793 794 795 796 797 798 799 800 801 802 803 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 791 class ArticleAnswer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#snippets ⇒ ::Array<::String>
Returns Article snippets.
791 792 793 794 795 796 797 798 799 800 801 802 803 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 791 class ArticleAnswer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#title ⇒ ::String
Returns The article title.
791 792 793 794 795 796 797 798 799 800 801 802 803 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 791 class ArticleAnswer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#uri ⇒ ::String
Returns The article URI.
791 792 793 794 795 796 797 798 799 800 801 802 803 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 791 class ArticleAnswer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |