Table of Contents

Class GroundingSupport

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Grounding support.

public class GroundingSupport
Inheritance
GroundingSupport
Inherited Members
Extension Methods

Properties

ConfidenceScores

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 groundingChunkIndices.

[JsonPropertyName("confidenceScores")]
public List<double>? ConfidenceScores { get; set; }

Property Value

List<double>

GroundingChunkIndices

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

[JsonPropertyName("groundingChunkIndices")]
public List<int>? GroundingChunkIndices { get; set; }

Property Value

List<int>

RenderedParts

Indices of the response parts this support applies to.

[JsonPropertyName("renderedParts")]
public List<int>? RenderedParts { get; set; }

Property Value

List<int>

Segment

Segment of the content this support belongs to.

[JsonPropertyName("segment")]
public Segment? Segment { get; set; }

Property Value

Segment

See Also