Skip to main content
Deprecated. Use startConversation instead.
const startSession: (opts) => Conversation = startConversation
Defined in: src/genai/api.ts:33 Start a new Conversation and install it as the current conversation. Subsequent calls to startTurn will pick it up automatically. Pass attributes to stamp custom (non-semconv) attributes on every span the conversation emits.

Parameters

opts?

ConversationInit = {}

Returns

Conversation

Examples