Skip to main content
weave / ConversationInit

Table of contents

Properties

Properties

agentDescription

Optional agentDescription: string 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.

Defined in

src/genai/conversation.ts:31

agentId

Optional agentId: string 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.

Defined in

src/genai/conversation.ts:16

agentName

Optional agentName: string 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.

Defined in

src/genai/conversation.ts:23

agentVersion

Optional agentVersion: string 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.

Defined in

src/genai/conversation.ts:38

attributes

Optional attributes: Attributes 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.

Defined in

src/genai/conversation.ts:52

conversationId

Optional conversationId: string Conversation ID propagated to every span under this conversation as gen_ai.conversation.id. Auto-generated if omitted.

Defined in

src/genai/conversation.ts:44

model

Optional model: string

Defined in

src/genai/conversation.ts:9

sessionId

Deprecated. Use ConversationInit.conversationId instead.
Optional sessionId: string

Defined in

src/genai/conversation.ts:55