getLiveClient

fun Gemini.getLiveClient(model: String, config: LiveConnectConfig? = null): GeminiLive

Creates a client for the Live API.

Return

A GeminiLive client instance.

Parameters

model

The model to be used for the live session.

config

Optional configuration for the live session.