OptionalcontextConfigures context window compression mechanism.
If included, server will compress context window to fit into given length.
OptionalgenerationThe generation configuration for the session. Note: only a subset of fields are supported.
OptionalinputThe transcription of the input aligns with the input audio language.
OptionalmodelThe fully qualified name of the publisher model or tuned model endpoint to use.
OptionaloutputThe transcription of the output aligns with the language code specified for the output audio.
OptionalproactivityConfigures the proactivity of the model. This allows the model to respond proactively to the input and to ignore irrelevant input.
OptionalrealtimeConfigures the realtime input behavior in BidiGenerateContent.
OptionalsessionConfigures session resumption mechanism.
If included server will send SessionResumptionUpdate messages.
OptionalsystemThe user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph.
OptionaltoolsA list of Tools the model may use to generate the next response.
A Tool is a piece of code that enables the system to interact with
external systems to perform an action, or set of actions, outside of
knowledge and scope of the model.
Message contains configuration that will apply for the duration of the streaming session.