GeminiLive

class GeminiLive(apiKey: String, model: String, config: LiveConnectConfig? = null, json: Json = Json { ignoreUnknownKeys = true encodeDefaults = true }, client: HttpClient? = null)

A client for interacting with the Gemini Live API via WebSockets.

Constructors

Link copied to clipboard
constructor(apiKey: String, model: String, config: LiveConnectConfig? = null, json: Json = Json { ignoreUnknownKeys = true encodeDefaults = true }, client: HttpClient? = null)

Functions

Link copied to clipboard

Connects to the Live API and sends the initial setup message.