Skip to main content
weave / ConversationInit

Table of contents

Properties

Properties

agentName

Optional agentName: string

Defined in

src/genai/conversation.ts:9

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:20

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:13

model

Optional model: string

Defined in

src/genai/conversation.ts:10

sessionId

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

Defined in

src/genai/conversation.ts:23