Open History to see the last commit
1---
2id: ContentStreamChunk
3title: ContentStreamChunk
4---
5
6# Interface: ContentStreamChunk
7
8Defined in: [types.ts:648](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L648)
9
10## Extends
11
12- [`BaseStreamChunk`](BaseStreamChunk.md)
13
14## Properties
15
16### content
17
18```ts
19content: string;
20```
21
22Defined in: [types.ts:651](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L651)
23
24***
25
26### delta
27
28```ts
29delta: string;
30```
31
32Defined in: [types.ts:650](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L650)
33
34***
35
36### id
37
38```ts
39id: string;
40```
41
42Defined in: [types.ts:643](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L643)
43
44#### Inherited from
45
46[`BaseStreamChunk`](BaseStreamChunk.md).[`id`](BaseStreamChunk.md#id)
47
48***
49
50### model
51
52```ts
53model: string;
54```
55
56Defined in: [types.ts:644](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L644)
57
58#### Inherited from
59
60[`BaseStreamChunk`](BaseStreamChunk.md).[`model`](BaseStreamChunk.md#model)
61
62***
63
64### role?
65
66```ts
67optional role: "assistant";
68```
69
70Defined in: [types.ts:652](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L652)
71
72***
73
74### timestamp
75
76```ts
77timestamp: number;
78```
79
80Defined in: [types.ts:645](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L645)
81
82#### Inherited from
83
84[`BaseStreamChunk`](BaseStreamChunk.md).[`timestamp`](BaseStreamChunk.md#timestamp)
85
86***
87
88### type
89
90```ts
91type: "content";
92```
93
94Defined in: [types.ts:649](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L649)
95
96#### Overrides
97
98[`BaseStreamChunk`](BaseStreamChunk.md).[`type`](BaseStreamChunk.md#type)