Proactivity configuration for Live API sessions.
Configures the proactivity features of the model. When enabled, the model can respond proactively to input and ignore irrelevant input.
Fields
proactive_audio- If enabled, the model can reject responding to prompts. For example, this allows the model to ignore out of context speech or stay silent if the user did not make a request.
Example
%ProactivityConfig{proactive_audio: true}
Summary
Functions
Parses from API response.
Creates a new ProactivityConfig.
Converts to API format (camelCase).
Types
@type t() :: %Gemini.Types.Live.ProactivityConfig{proactive_audio: boolean() | nil}