ProactivityConfig

@Serializable
data class ProactivityConfig(val proactiveAudio: Boolean? = null, val proactiveVideo: Boolean? = null)

Config for proactivity features.

Constructors

Link copied to clipboard
constructor(proactiveAudio: Boolean? = null, proactiveVideo: Boolean? = null)

Properties

Link copied to clipboard
val proactiveAudio: Boolean? = null

If enabled, the model can reject responding to the last prompt. For example, this allows the model to ignore out of context speech or to stay silent if the user did not make a request, yet.

Link copied to clipboard
val proactiveVideo: Boolean? = null

If enabled, the system might trigger a generation on each received image. This requires that proactive_audio is enabled. The rate of generation depends on the rate of incoming images and can cause a significant increase in cost.