Class: Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentResponse::Candidate::GroundingMetadata::GroundingSupport

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

Overview

Grounding info for a claim in the candidate and its support.

Instance Attribute Summary collapse

Instance Attribute Details

#claim_text::String

Returns Text for the claim in the candidate. Always provided when a support is found.

Returns:

  • (::String)

    Text for the claim in the candidate. Always provided when a support is found.



399
400
401
402
# File 'proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb', line 399

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

#support_chunk_indices::Array<::Integer>

Returns A list of indices (into 'support_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that support_chunks[1], support_chunks[3], support_chunks[4] are the chunks attributed to the claim.

Returns:

  • (::Array<::Integer>)

    A list of indices (into 'support_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that support_chunks[1], support_chunks[3], support_chunks[4] are the chunks attributed to the claim.



399
400
401
402
# File 'proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb', line 399

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

#support_score::Float

Returns A score in the range of [0, 1] describing how grounded is a specific claim in the support chunks indicated. Higher value means that the claim is better supported by the chunks.

Returns:

  • (::Float)

    A score in the range of [0, 1] describing how grounded is a specific claim in the support chunks indicated. Higher value means that the claim is better supported by the chunks.



399
400
401
402
# File 'proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb', line 399

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