Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::GroundingSupport (v0.48.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::GroundingSupport.

Grounding support.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence_scores

def confidence_scores() -> ::Array<::Float>
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.

#confidence_scores=

def confidence_scores=(value) -> ::Array<::Float>
Parameter
  • value (::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.
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.

#grounding_chunk_indices

def grounding_chunk_indices() -> ::Array<::Integer>
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.

#grounding_chunk_indices=

def grounding_chunk_indices=(value) -> ::Array<::Integer>
Parameter
  • value (::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.
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.

#segment

def segment() -> ::Google::Cloud::AIPlatform::V1::Segment
Returns

#segment=

def segment=(value) -> ::Google::Cloud::AIPlatform::V1::Segment
Parameter
Returns