Interface TextPart (1.3.1)

A text part of a conversation with the model.

Inheritance

BasePart > TextPart

Package

@google-cloud/vertexai

Properties

fileData

fileData?: never;

fileData is not expected for TextPart.

functionCall

functionCall?: never;

functionCall is not expected for TextPart.

functionResponse

functionResponse?: never;

functionResponse is not expected for TextPart.

inlineData

inlineData?: never;

inlineData is not expected for TextPart.

text

text: string;

Only this property is expected for TextPart.