Optional
contextConfigures context window compression mechanism.
If included, server will compress context window to fit into given length.
Optional
generationThe generation configuration for the session. Note: only a subset of fields are supported.
Optional
inputThe transcription of the input aligns with the input audio language.
Optional
modelThe fully qualified name of the publisher model or tuned model endpoint to use.
Optional
outputThe transcription of the output aligns with the language code specified for the output audio.
Optional
proactivityConfigures the proactivity of the model. This allows the model to respond proactively to the input and to ignore irrelevant input.
Optional
realtimeConfigures the realtime input behavior in BidiGenerateContent.
Optional
sessionConfigures session resumption mechanism.
If included server will send SessionResumptionUpdate messages.
Optional
systemThe 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.
Optional
toolsA 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.