TextPart interface

Content part interface if the part represents a text string.

Signature:

export interface TextPart 

Properties

Property Type Description
text string
thought boolean
type 'text'

TextPart.text

Signature:

text: string;

TextPart.thought

Signature:

thought?: boolean;

TextPart.type

Signature:

type: 'text';