Optional
generationThe generation configuration for the session.
Optional
responseThe requested modalities of the response. Represents the set of modalities that the model can return. Defaults to AUDIO if not specified.
Optional
speechThe speech generation configuration.
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.
Session config for the API connection.