0
Fork 0
mirror of https://github.com/TanStack/ai.git synced 2026-11-16 19:38:41 +00:00
ai/docs/reference/interfaces/TextPart.md
github-actions[bot] 1999af2267
docs: regenerate API documentation (#1260)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-28 11:42:19 +02:00

801 B

id title
TextPart TextPart

Interface: TextPart<TMetadata>

Defined in: packages/ai/src/types.ts:404

Message parts - building blocks of UIMessage

Type Parameters

TMetadata

TMetadata = unknown

Properties

content

content: string;

Defined in: packages/ai/src/types.ts:406


metadata?

optional metadata?: TMetadata;

Defined in: packages/ai/src/types.ts:407


type

type: "text";

Defined in: packages/ai/src/types.ts:405