# ChunkRecording

# Interface: ChunkRecording

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

Recording format for replay testing

## Properties

### chunks

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

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

#### chunk

```ts
chunk: StreamChunk;
```

#### index

```ts
index: number;
```

#### timestamp

```ts
timestamp: number;
```

***

### model?

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

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

***

### provider?

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

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

***

### result?

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

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

***

### timestamp

```ts
timestamp: number;
```

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

***

### version

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

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