Class: Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/participant.rb

Overview

Details about source of Generative answer.

Defined Under Namespace

Classes: Snippet

Instance Attribute Summary collapse

Instance Attribute Details

#snippets::Array<::Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource::Snippet>

Returns All snippets used for this Generative Prediction, with their source URI and data.

Returns:



1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 1136

class GenerativeSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Snippet Source for a Generative Prediction.
  # @!attribute [rw] uri
  #   @return [::String]
  #     URI the data is sourced from.
  # @!attribute [rw] text
  #   @return [::String]
  #     Text taken from that URI.
  # @!attribute [rw] title
  #   @return [::String]
  #     Title of the document.
  class Snippet
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end