# ChunkRecording

# Interface: ChunkRecording

Defined in: [packages/typescript/ai/src/activities/chat/stream/types.ts:100](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L100)

Recording format for replay testing

## Properties

### chunks

```ts
chunks: object[];
```

Defined in: [packages/typescript/ai/src/activities/chat/stream/types.ts:105](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L105)

#### chunk

```ts
chunk: AGUIEvent;
```

#### index

```ts
index: number;
```

#### timestamp

```ts
timestamp: number;
```

***

### model?

```ts
optional model: string;
```

Defined in: [packages/typescript/ai/src/activities/chat/stream/types.ts:103](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L103)

***

### provider?

```ts
optional provider: string;
```

Defined in: [packages/typescript/ai/src/activities/chat/stream/types.ts:104](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L104)

***

### result?

```ts
optional result: ProcessorResult;
```

Defined in: [packages/typescript/ai/src/activities/chat/stream/types.ts:110](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L110)

***

### timestamp

```ts
timestamp: number;
```

Defined in: [packages/typescript/ai/src/activities/chat/stream/types.ts:102](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L102)

***

### version

```ts
version: "1.0";
```

Defined in: [packages/typescript/ai/src/activities/chat/stream/types.ts:101](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/chat/stream/types.ts#L101)
