GroundingPassageId

@Serializable
data class GroundingPassageId(val passageId: String, val partIndex: Int)

Represents an identifier for a grounding passage, including its unique ID and the index of the part within the passage.

Constructors

Link copied to clipboard
constructor(passageId: String, partIndex: Int)

Properties

Link copied to clipboard
val partIndex: Int

An integer representing the index of the part within the passage. This allows for precise identification of parts within passages.

Link copied to clipboard
val passageId: String

A string uniquely identifying the passage. This ID is used to reference the specific passage within a larger document or dataset.