Interface LiveClientSetup

Message contains configuration that will apply for the duration of the streaming session.

interface LiveClientSetup {
    generationConfig?: GenerationConfig;
    model?: string;
    systemInstruction?: Content;
    tools?: ToolListUnion;
}

Properties

generationConfig?: GenerationConfig

The generation configuration for the session.

The following fields are supported:

  • response_logprobs
  • response_mime_type
  • logprobs
  • response_schema
  • stop_sequence
  • routing_config
  • audio_timestamp
model?: string

The fully qualified name of the publisher model or tuned model endpoint to use.

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