Content part interface if the part represents a text string.
Signature:
export interface TextPart
Properties
Property | Type | Description |
---|---|---|
codeExecutionResult | never | |
executableCode | never | |
functionCall | never | |
functionResponse | never | |
inlineData | never | |
text | string | |
thought | boolean |
TextPart.codeExecutionResult
Signature:
codeExecutionResult?: never;
TextPart.executableCode
Signature:
executableCode?: never;
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;