Class: Google::Cloud::Dialogflow::V2::ArticleAnswer

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#answer_record::String

Returns The name of answer record, in the format of "projects//locations//answerRecords/".

Returns:

  • (::String)

    The name of answer record, in the format of "projects//locations//answerRecords/"



789
790
791
792
793
794
795
796
797
798
799
800
801
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 789

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).

Returns:

  • (::Float)

    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).



789
790
791
792
793
794
795
796
797
798
799
800
801
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 789

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.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    A map that contains metadata about the answer and the document from which it originates.



789
790
791
792
793
794
795
796
797
798
799
800
801
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 789

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.

Returns:

  • (::Array<::String>)

    Article snippets.



789
790
791
792
793
794
795
796
797
798
799
800
801
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 789

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.

Returns:

  • (::String)

    The article title.



789
790
791
792
793
794
795
796
797
798
799
800
801
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 789

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.

Returns:

  • (::String)

    The article URI.



789
790
791
792
793
794
795
796
797
798
799
800
801
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 789

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