Interface GroundingAttributionSegment (0.4.0)

Segment of the content this attribution belongs to. {number} - [part_index] The index of a Part object within its parent Content object. {number} - [startIndex] Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero. {number} - [endIndex] End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.

Package

@google-cloud/vertexai

Properties

endIndex

endIndex?: number;

partIndex

partIndex?: number;

startIndex

startIndex?: number;