Class: Google::Cloud::AIPlatform::V1::GroundingSupport

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

Overview

Grounding support.

Instance Attribute Summary collapse

Instance Attribute Details

#confidence_scores::Array<::Float>

Returns Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices.

Returns:

  • (::Array<::Float>)

    Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices.



558
559
560
561
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 558

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

#grounding_chunk_indices::Array<::Integer>

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

Returns:

  • (::Array<::Integer>)

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



558
559
560
561
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 558

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

#segment::Google::Cloud::AIPlatform::V1::Segment

Returns Segment of the content this support belongs to.

Returns:



558
559
560
561
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 558

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