RealtimeSessionConfig
@Serializable
GA Realtime or transcription session configuration. Model-dependent controls remain optional.
Constructors
Link copied to clipboard
constructor(type: String = "realtime", model: ModelId? = null, instructions: String? = null, audio: RealtimeAudioConfig? = null, outputModalities: List<String>? = null, maxOutputTokens: JsonElement? = null, tools: List<JsonObject>? = null, toolChoice: JsonElement? = null, parallelToolCalls: Boolean? = null, include: List<String>? = null, reasoning: JsonObject? = null, tracing: JsonElement? = null, prompt: JsonObject? = null, truncation: JsonElement? = null)
Properties
Link copied to clipboard
Input and output audio configuration.
Link copied to clipboard
System instructions.
Link copied to clipboard
Maximum response tokens, or the JSON string inf.
Link copied to clipboard
Output modalities, typically audio or text.
Link copied to clipboard
Whether parallel tool calls are allowed.
Link copied to clipboard
Tool selection mode or named-tool object.
Link copied to clipboard
Context truncation controls.