Interface LiveClientContent

Incremental update of the current conversation delivered from the client.

All the content here will unconditionally be appended to the conversation history and used as part of the prompt to the model to generate content.

A message here will interrupt any current model generation.

interface LiveClientContent {
    turnComplete?: boolean;
    turns?: Content[];
}

Properties

turnComplete?: boolean

If true, indicates that the server content generation should start with the currently accumulated prompt. Otherwise, the server will await additional messages before starting generation.

turns?: Content[]

The content appended to the current conversation with the model.

For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history and latest request.

MMNEPVFCICPMFPCPTTAAATR