Skip to main content

startSession

startSession(opts?): Session Start a new Session and install it as the current session. Subsequent calls to startTurn will pick it up automatically.

Parameters

NameType
optsSessionInit

Returns

Session

Defined in

genai/api.ts:12