Show / Hide Table of Contents

Class GoogleCloudAiplatformV1GroundingSupport

A collection of supporting references for a segment of the model's response.

Inheritance
object
GoogleCloudAiplatformV1GroundingSupport
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1GroundingSupport : IDirectResponseSchema

Properties

ConfidenceScores

The confidence scores for the support references. This list is parallel to the grounding_chunk_indices list. A score is a value between 0.0 and 1.0, with a higher score indicating a higher confidence that the reference supports the claim. For Gemini 2.0 and before, this list has the same size as grounding_chunk_indices. For Gemini 2.5 and later, this list is empty and should be ignored.

Declaration
[JsonProperty("confidenceScores")]
public virtual IList<float?> ConfidenceScores { get; set; }
Property Value
Type Description
IList<float?>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

GroundingChunkIndices

A list of indices into the grounding_chunks field of the GroundingMetadata message. These indices specify which grounding chunks support the claim made in the content segment. For example, if this field has the values [1, 3], it means that grounding_chunks[1] and grounding_chunks[3] are the sources for the claim in the content segment.

Declaration
[JsonProperty("groundingChunkIndices")]
public virtual IList<int?> GroundingChunkIndices { get; set; }
Property Value
Type Description
IList<int?>

Segment

The content segment that this support message applies to.

Declaration
[JsonProperty("segment")]
public virtual GoogleCloudAiplatformV1Segment Segment { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1Segment

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX