TextPart interface

Content part interface if the part represents a text string.

Signature:

export interface TextPart 

Properties

Property Type Description
functionCall never
functionResponse never
inlineData never
text string
thought boolean

TextPart.functionCall

Signature:

functionCall?: never;

TextPart.functionResponse

Signature:

functionResponse?: never;

TextPart.inlineData

Signature:

inlineData?: never;

TextPart.text

Signature:

text: string;

TextPart.thought

Signature:

thought?: boolean;