Skip to main content

Documentation Index

Fetch the complete documentation index at: https://wb-21fd5541-update-reference-docs-34.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

weave / Session A Session groups Turns under a single gen_ai.conversation.id. It is not itself an OTel span — children stamp the conversation id onto theirs.

Table of contents

Properties

Methods

Properties

agentName

Readonly agentName: string

Defined in

genai/session.ts:22

model

Readonly model: string

Defined in

genai/session.ts:23

sessionId

Readonly sessionId: string

Defined in

genai/session.ts:24

Methods

end

end(): void

Returns

void

Defined in

genai/session.ts:51

startTurn

startTurn(opts?): Turn

Parameters

NameType
optsTurnInit

Returns

Turn

Defined in

genai/session.ts:43

create

create(opts?): Session

Parameters

NameType
optsSessionInit

Returns

Session

Defined in

genai/session.ts:27