Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

TextPart.md

46 lines888 Bytes

Interface: TextPart<TMetadata>

Defined in: packages/typescript/ai/src/types.ts:329

Message parts - building blocks of UIMessage

Type Parameters

TMetadata

TMetadata = unknown

Properties

content

content: string;

Defined in: packages/typescript/ai/src/types.ts:331


metadata?

optional metadata: TMetadata;

Defined in: packages/typescript/ai/src/types.ts:332


type

type: "text";

Defined in: packages/typescript/ai/src/types.ts:330