Class: Google::Cloud::DiscoveryEngine::V1beta::FactChunk

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/grounding.rb

Overview

Fact Chunk.

Defined Under Namespace

Classes: SourceMetadataEntry

Instance Attribute Summary collapse

Instance Attribute Details

#chunk_text::String

Returns Text content of the fact chunk. Can be at most 10K characters long.

Returns:

  • (::String)

    Text content of the fact chunk. Can be at most 10K characters long.



60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'proto_docs/google/cloud/discoveryengine/v1beta/grounding.rb', line 60

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SourceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#source::String

Returns Source from which this fact chunk was retrieved. If it was retrieved from the GroundingFacts provided in the request then this field will contain the index of the specific fact from which this chunk was retrieved.

Returns:

  • (::String)

    Source from which this fact chunk was retrieved. If it was retrieved from the GroundingFacts provided in the request then this field will contain the index of the specific fact from which this chunk was retrieved.



60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'proto_docs/google/cloud/discoveryengine/v1beta/grounding.rb', line 60

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SourceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#source_metadata::Google::Protobuf::Map{::String => ::String}

Returns More fine-grained information for the source reference.

Returns:

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

    More fine-grained information for the source reference.



60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'proto_docs/google/cloud/discoveryengine/v1beta/grounding.rb', line 60

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SourceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end