Passer au contenu principal

startTurn

startTurn(opts?): Turn Démarre un nouveau tour de conversation. Si une Conversation est active, le tour hérite de son conversationId ; sinon, le tour n’a pas d’identifiant de conversation.

Paramètres

NomType
optsTurnInit

Renvoie

Turn Exemple
weave.startTurn({: 'research-bot'});
Exemple
weave.startTurn({
  : 'research-bot',
  : new ('2026-05-29T10:00:00.000Z'),
});

Défini dans

src/genai/api.ts:48