Skip to main content
startConversation(opts?): Conversation
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. Defined in: src/genai/api.ts:26

Parameters

opts?

ConversationInit = {}

Returns

Conversation

Examples