Skip to main content

startTurn

startTurn(opts?): Turn Start a new Turn. If a Session is active, the turn inherits its conversationId; otherwise the turn has no conversation id.

Parameters

NameType
optsTurnInit

Returns

Turn

Defined in

genai/api.ts:20