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

# ConversationInit

> TypeScript SDK reference

Defined in: [src/genai/conversation.ts:8](https://github.com/wandb/weave/blob/8c5f077eb11c42b84000726ff20504abc728d3fb/sdks/node/src/genai/conversation.ts#L8)

## Properties

### agentDescription?

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

Defined in: [src/genai/conversation.ts:31](https://github.com/wandb/weave/blob/8c5f077eb11c42b84000726ff20504abc728d3fb/sdks/node/src/genai/conversation.ts#L31)

Human-readable agent description. Propagated as the default
`agentDescription` to every `Turn` created via `startTurn()` unless
the turn sets its own; emitted on each turn's `invoke_agent` span as
`gen_ai.agent.description`.

***

### agentId?

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

Defined in: [src/genai/conversation.ts:16](https://github.com/wandb/weave/blob/8c5f077eb11c42b84000726ff20504abc728d3fb/sdks/node/src/genai/conversation.ts#L16)

Stable agent identifier. Propagated as the default `agentId` to every
`Turn` created via `startTurn()` unless the turn sets its own; emitted
on each turn's `invoke_agent` span as `gen_ai.agent.id`.

***

### agentName?

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

Defined in: [src/genai/conversation.ts:23](https://github.com/wandb/weave/blob/8c5f077eb11c42b84000726ff20504abc728d3fb/sdks/node/src/genai/conversation.ts#L23)

Agent name. Propagated as the default `agentName` to every `Turn`
created via `startTurn()` unless the turn sets its own; emitted on
each turn's `invoke_agent` span as `gen_ai.agent.name`.

***

### agentVersion?

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

Defined in: [src/genai/conversation.ts:38](https://github.com/wandb/weave/blob/8c5f077eb11c42b84000726ff20504abc728d3fb/sdks/node/src/genai/conversation.ts#L38)

Agent version string. Propagated as the default `agentVersion` to
every `Turn` created via `startTurn()` unless the turn sets its own;
emitted on each turn's `invoke_agent` span as `gen_ai.agent.version`.

***

### attributes?

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

Defined in: [src/genai/conversation.ts:52](https://github.com/wandb/weave/blob/8c5f077eb11c42b84000726ff20504abc728d3fb/sdks/node/src/genai/conversation.ts#L52)

Custom attributes stamped on every span the conversation emits.

A key here that collides with a span's own `gen_ai.*` / `weave.*`
attribute is unsupported; the span's value wins.

***

### conversationId?

> `optional` **conversationId?**: `string`

Defined in: [src/genai/conversation.ts:44](https://github.com/wandb/weave/blob/8c5f077eb11c42b84000726ff20504abc728d3fb/sdks/node/src/genai/conversation.ts#L44)

Conversation ID propagated to every span under this conversation as
`gen_ai.conversation.id`. Auto-generated if omitted.

***

### model?

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

Defined in: [src/genai/conversation.ts:9](https://github.com/wandb/weave/blob/8c5f077eb11c42b84000726ff20504abc728d3fb/sdks/node/src/genai/conversation.ts#L9)

***

### ~~sessionId?~~

<Warning>
  **Deprecated.** Use [ConversationInit.conversationId](#conversationid) instead.
</Warning>

> `optional` **sessionId?**: `string`

Defined in: [src/genai/conversation.ts:55](https://github.com/wandb/weave/blob/8c5f077eb11c42b84000726ff20504abc728d3fb/sdks/node/src/genai/conversation.ts#L55)
