Skip to main content
startTurn(opts?): Turn
Start a new Turn. If a Conversation is active, the turn inherits its conversationId; otherwise the turn has no conversation id. Defined in: src/genai/api.ts:54

Parameters

opts?

TurnInit = {}

Returns

Turn

Examples