Skip to main content

startTurn

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

Parameters

NameType
optsTurnInit

Returns

Turn Example
Example

Defined in

src/genai/api.ts:48