Interface LiveConnectConfig

Session config for the API connection.

interface LiveConnectConfig {
    generationConfig?: GenerationConfig;
    responseModalities?: Modality[];
    speechConfig?: SpeechConfig;
    systemInstruction?: Content;
    tools?: ToolListUnion;
}

Properties

generationConfig?: GenerationConfig

The generation configuration for the session.

responseModalities?: Modality[]

The requested modalities of the response. Represents the set of modalities that the model can return. Defaults to AUDIO if not specified.

speechConfig?: SpeechConfig

The speech generation configuration.

systemInstruction?: Content

The 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.

A 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.

MMNEPVFCICPMFPCPTTAAATR