> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-drtangible-wip-test-inline-tag.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# TurnInit

> TypeScript SDK reference

Defined in: [src/genai/turn.ts:32](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/turn.ts#L32)

## Extends

* `SpanInitBase`

## Properties

### agentDescription

> `optional` **agentDescription**: `string`

Defined in: [src/genai/turn.ts:38](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/turn.ts#L38)

***

### agentId

> `optional` **agentId**: `string`

Defined in: [src/genai/turn.ts:36](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/turn.ts#L36)

***

### agentName

> `optional` **agentName**: `string`

Defined in: [src/genai/turn.ts:37](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/turn.ts#L37)

***

### agentVersion

> `optional` **agentVersion**: `string`

Defined in: [src/genai/turn.ts:39](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/turn.ts#L39)

***

### attributes

> `optional` **attributes**: `Attributes`

Custom attributes set on this turn and passed to every child span.
Normally seeded from the conversation via `startConversation({ attributes })`;
set here for a rootless `startTurn({ attributes })` with no conversation.

Defined in: [src/genai/turn.ts:45](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/turn.ts#L45)

***

### model

> `optional` **model**: `string`

Defined in: [src/genai/turn.ts:33](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/turn.ts#L33)

***

### startTime

> `optional` **startTime**: `TimeInput`

Defined in: [src/genai/spanBase.ts:17](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/spanBase.ts#L17)

#### Inherited from

`SpanInitBase.startTime`

***

### systemInstructions

> `optional` **systemInstructions**: `string`\[]

Defined in: [src/genai/turn.ts:34](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/turn.ts#L34)

***

### userMessage

> `optional` **userMessage**: `string`

Defined in: [src/genai/turn.ts:35](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/turn.ts#L35)
