Interface GroundingSupportSegment (1.7.0)

Grounding support segment.

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.

text

text?: string;

Optional. The text corresponding to the segment from the response.