GroundingSupport

@Serializable
data class GroundingSupport(val confidenceScores: List<Double>? = null, val groundingChunkIndices: List<Int>? = null, val segment: Segment? = null, val renderedParts: List<Int>? = null)

Grounding support.

Constructors

Link copied to clipboard
constructor(confidenceScores: List<Double>? = null, groundingChunkIndices: List<Int>? = null, segment: Segment? = null, renderedParts: List<Int>? = null)

Properties

Link copied to clipboard

Confidence score of the support references.

Link copied to clipboard

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

Link copied to clipboard
val renderedParts: List<Int>? = null

Indices into the rendered_parts field of the GroundingMetadata message. These indices specify which rendered parts are associated with this support message.

Link copied to clipboard
val segment: Segment? = null

Segment of the content this support belongs to.