Interface ProactivityConfig

Config for proactivity features.

interface ProactivityConfig {
    proactiveAudio?: boolean;
    proactiveVideo?: boolean;
}

Properties

proactiveAudio?: boolean

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.

proactiveVideo?: boolean

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.