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 propagate custom (non-semconv) attributes to every span the conversation emits. Defined in: src/genai/api.ts:26

Parameters

opts?

ConversationInit = {}

Returns

Conversation

Examples