Open History to see the last commit
1---
2id: normalizeStreamChunk
3title: normalizeStreamChunk
4---
5
6```ts
7function normalizeStreamChunk(chunk): AGUIEvent[];
8```
9
10Defined in: packages/ai/src/utilities/normalize-stream-chunk.ts:50
11
12## Parameters
13
14### chunk
15
16[`AdapterYieldChunk`](../type-aliases/AdapterYieldChunk.md)
17
18## Returns
19
20[`AGUIEvent`](../type-aliases/AGUIEvent.md)[]