GroundingAttribution

@Serializable
data class GroundingAttribution(val sourceId: AttributionSourceId, val content: Content)

Represents the attribution of grounding, linking content to its source.

Constructors

Link copied to clipboard
constructor(sourceId: AttributionSourceId, content: Content)

Properties

Link copied to clipboard

The Content that is being attributed to the source. It encapsulates the actual content details, such as text or structured data, derived from the source.

Link copied to clipboard

The AttributionSourceId that uniquely identifies the source of the content. This ID helps in tracing the origin of the grounded content.