Interface GroundingAttributionSegment (1.2.0)

Segment of the content this attribution belongs to.

Package

@google-cloud/vertexai

Properties

endIndex

endIndex?: number;

Optional. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.

partIndex

partIndex?: number;

Optional. The index of a Part object within its parent Content object.

startIndex

startIndex?: number;

Optional. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.