Class: Google::Cloud::DiscoveryEngine::V1::Answer::Step::Action::Observation::SearchResult::ChunkInfo

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

Overview

Chunk information.

Instance Attribute Summary collapse

Instance Attribute Details

#chunk::String

Returns Chunk resource name.

Returns:

  • (::String)

    Chunk resource name.



300
301
302
303
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 300

class ChunkInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#content::String

Returns Chunk textual content.

Returns:

  • (::String)

    Chunk textual content.



300
301
302
303
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 300

class ChunkInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#relevance_score::Float

Returns The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.

Returns:

  • (::Float)

    The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.



300
301
302
303
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 300

class ChunkInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end