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

ContentStreamChunk.md

98 lines1.7 KB

Interface: ContentStreamChunk

Defined in: types.ts:648

Extends

Properties

content

content: string;

Defined in: types.ts:651


delta

delta: string;

Defined in: types.ts:650


id

id: string;

Defined in: types.ts:643

Inherited from

BaseStreamChunk.id


model

model: string;

Defined in: types.ts:644

Inherited from

BaseStreamChunk.model


role?

optional role: "assistant";

Defined in: types.ts:652


timestamp

timestamp: number;

Defined in: types.ts:645

Inherited from

BaseStreamChunk.timestamp


type

type: "content";

Defined in: types.ts:649

Overrides

BaseStreamChunk.type